Difference between revisions of "CalendarView.ExportToDB"

From Jeremie Leroy - XOJO Controls Wiki
Jump to: navigation, search
Line 13: Line 13:
  
 
Exports all CalendarEvents to the passed'' TableName'' in the passed Database.
 
Exports all CalendarEvents to the passed'' TableName'' in the passed Database.
 +
 +
This function will return True if there is no error.
 +
Check DB.ErrorCode and DB.ErrorMessage if this function returns False.
 +
 +
It will update existing records using the [[CalendarEvent.ID]] and
 +
create new records if the ID isn't set.

Revision as of 00:19, 17 September 2015

Method
CalendarView.ExportToDB ( DB As Database, TableName As String, ID As String = "ID", StartDate As String = "Start", EndDate As String = "End", Title As String = "Title", EventColor As String = "Color", Location As String = "Location", Description As String = "Description", Recurrence As String = "Recurrence" ) As Boolean


Exports all CalendarEvents to the passed TableName in the passed Database.

This function will return True if there is no error. Check DB.ErrorCode and DB.ErrorMessage if this function returns False.

It will update existing records using the CalendarEvent.ID and create new records if the ID isn't set.