Difference between revisions of "CalendarView.ImportFromDB"
From Jeremie Leroy - XOJO Controls Wiki
(85 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
| ownertype=class | | ownertype=class | ||
| scope=public | | scope=public | ||
− | | parameters=RS As RecordSet, 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" | + | | parameters=RS As RecordSet, 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", Editable As Boolean = True, AllDay As Boolean = False |
| returntype=Boolean | | returntype=Boolean | ||
+ | | version=1.4.1 | ||
| platform=all | | platform=all | ||
}} | }} | ||
+ | |||
+ | |||
+ | |||
+ | Imports CalendarEvents from a Database. | ||
+ | Returns True if import is successful. | ||
+ | |||
+ | If you set the'' AllDay'' parameter to True, all events will be a Day event. |
Latest revision as of 23:22, 16 September 2015
Method
CalendarView.ImportFromDB ( RS As RecordSet, 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", Editable As Boolean = True, AllDay As Boolean = False ) As Boolean
Imports CalendarEvents from a Database. Returns True if import is successful.
If you set the AllDay parameter to True, all events will be a Day event.