CalendarView.ImportFromDB
From Jeremie Leroy - XOJO Controls Wiki
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.