Click or drag to resize

IAppointmentForeignKey Property

ForeignKey Get the foreign key values for this appointment

Namespace:  SuperOffice.COM.SuperOfficeDB
Assembly:  SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
Syntax
SOForeignKey ForeignKey { get; }

Property Value

Type: SOForeignKey
ForeignKey
Examples

set get foreignkey

This text may be copied to the notepad, and saved as a *.vbs file. Remember to change the login information.

VB
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

See Also