Click or drag to resize

IProjectChanged Property

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

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