IPersonSetDefaults Method |
Namespace: SuperOffice.COM.SuperOfficeDB
SetDefaults
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.CurrentPerson.SetDefaults() msgbox "Take a look at the current person now, when you click OK the changes will be cancelled." objSO.CurrentPerson.CancelChanges() else MsgBox "Unable to connect to database" end if Set objSO = Nothing