Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The AddAppts method is useful when you need to add additional appointments to an OLE Schedule that already has some. This is also more efficient than updating the AppointmentList property, since that property will remove all appointments and re-add them. To use this method, simply pass an array of appointments. The array is in the exact same format as the AppointmentList property, so see that documentation for more details.

...

Code Block
// Add a new appointment (assuming the values were passed in) 
NewAppt = EntityID:@VM:NewApptID:@VM:NewStartTime:@VM:NewEndTime:@VM:NewBackColor:@VM:NewTextColor:@VM:NewTitle:@VM:NewDesc 
rv = Send_Message(@Window:".OLE_SCHEDULE", "OLE.AddAppts", NewAppt)

See Also

AppointmentList