Click or drag to resize

IDatabaseTravelInterface Property

Returns an object with Travel functions.

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

Property Value

Type: SOTravelInterface
SOTravelInterface – the travel settings object
Examples

Check if database is on travel

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

VB
dim objso
dim objti
set objso =  CreateObject("superofficedb.database")
If not (objSO is nothing) Then
    objso.login  "<userid>", "<password>"
    set  objti = objso.travelinterface
    if  objti.istravelling then
        msgbox  "we are travelling"
    else
       msgbox  "we are not travelling"
    end  if
else
    msgbox  "unable to connect to database"
end if
set objso = nothing

See Also