Posted 28 January 2020, 11:22 pm EST
Ok, that is fine but how do I tag an appointment as an all day event it code? I am using this code to do the mapping from my database:
Dim ScheduleTable As New DataTable
Dim JobSchedule As New cJobScheduleList(ConnStr)
ScheduleTable = JobSchedule.GetMFGSchedule
C1Schedule1.DataStorage.AppointmentStorage.Mappings.IndexMapping.MappingName = "JobID"
C1Schedule1.DataStorage.AppointmentStorage.Mappings.Subject.MappingName = "JobNumber"
C1Schedule1.DataStorage.AppointmentStorage.Mappings.Start.MappingName = "MFGDate"
C1Schedule1.DataStorage.AppointmentStorage.Mappings.End.MappingName = "MFGDate"
C1Schedule1.DataStorage.AppointmentStorage.Mappings.Body.MappingName = "JobNotes"
C1Schedule1.DataStorage.AppointmentStorage.Mappings.Location.MappingName = "GeneratedPartNo"
C1Schedule1.DataStorage.AppointmentStorage.DataSource = ScheduleTable
JobSchedule = Nothing
I can’t seem to find any way to identify if as “all day” through code.