Click or drag to resize

IDatabasePreferences Property

Preference settings object SOPreference can be used to get system properties and settings

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

Property Value

Type: SOPreference
SOPreference – the preferences object
Examples

[New Example]

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

VB
dim objso
dim objpref
set objso =  CreateObject("superofficedb.database")
If not (objSO is nothing) Then
    objso.login  "<userid>", "<password>"
    set  objpref = objso.preferences
    s  = objpref.get("filter", "daysbefore")
    msgbox  "filter settings, days before: " & s
else
    msgbox  "unable to connect to database"
end if
set objso = nothing

See Also