IAppointmentForeignKey Property |
Namespace: SuperOffice.COM.SuperOfficeDB
set get foreignkey
This text may be copied to the notepad, and saved as a *.vbs file. Remember to change the login information.
dim objsoapp set objsoapp = CreateObject("superoffice.application") if not (objsoapp is nothing) then set myappointment = objsoapp.currentappointment myappointment.foreignkey.set "myapplication", "mydevice", "mykey", "this is my foreignkey" msgbox myappointment.description & " has the following foreginkey set: " & myappointment.foreignkey.get ("myapplication", "mydevice", "mykey") else msgbox "unable to connect to database" end if set objso = nothing