Click or drag to resize

ISettingsCurrentArchivePath Property

Returns the current archive path, this is the central archivepath if you are logged into the central database or Local archive path if you are traveling - requires login Requires login

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

Property Value

Type: String
String – the archive path
Examples

CurrentArchivePath

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

VB
Dim objSO
Set objSO = CreateObject("SuperOfficeDB.Database")
If not (objSO is nothing) Then
    objSO.login "<USERID>", "<PASSWORD>"
    msgbox "Current data source: " & objSO.Settings.CurrentDataSource, vbInformation + vbOKOnly, "SuperCOM"
    msgbox "Current archive path: " & objSO.Settings.CurrentArchivepath, vbInformation + vbOKOnly, "SuperCOM"
else
    MsgBox "Unable to connect to database"
end if
Set objSO = Nothing

See Also