IAppointmentSetDefaults Method |
Namespace: SuperOffice.COM.SuperOfficeDB
Set default values to appoinment
This text may be copied to the notepad, and saved as a *.vbs file. Remember to change the login information.
Dim objSO Set objSO = CreateObject("SuperOffice.Application") If not (objSO is nothing) Then objSO.CurrentAppointment.SetDefaults() msgbox "Take a look at the current appointment now, when you click OK the changes will be cancelled." objSO.CurrentAppointment.CancelChanges() else MsgBox "Unable to connect to database" end if Set objSO = Nothing