Click or drag to resize

IDocumentChanged Property

has record been changed since read? If the document has modified, this will return false

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

Property Value

Type: Boolean

False the document has been modified since it was loaded

True the document has never been modified

Implements

IModelBaseChanged
Examples

Changed

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

VB
Dim objSO
Dim result
Set objSO = CreateObject("SuperOffice.Application")
If not (objSO is nothing) Then
    result = objSO.CurrentDocument.Changed
    if result = false then
        MsgBox "Current document has been modified since it was loaded.", vbInformation + vbOKOnly, "SuperCOM"        
    else
        msgbox "The current document has NOT been modified since it was loaded.", vbInformation + vbOKOnly, "SuperCOM"   
    end if
else
    MsgBox "Unable to connect to database"
end if
Set objSO = Nothing

See Also