Click or drag to resize

IPersonChanged Property

has record been changed since read? If the person has been modified since it was loaded, 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

Boolean

False the person has been modified since it was loaded.

True the person 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.CurrentPerson.Changed
    if result = false then
        MsgBox "Current person has been modified since it was loaded ", vbInformation + vbOKOnly, "SuperCOM"   
    else
        msgbox "The current person 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