Click or drag to resize

ISelectionSave Method

Persist the object to the database. May throw an error if you are not allowed to save changes to the object. Saves the changes you made on to the selection model to the database, does not return the new data from the database

Namespace:  SuperOffice.COM.SuperOfficeDB
Assembly:  SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
Syntax
Examples

Save

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 = MsgBox ("There have been no programmatically changes to your current selection." & vbCrLf & "But, by pushing 'YES' this will save the changes on your current selection, are you sure?", vbInformation + vbYesNo, "SuperCOM")
    if result = vbYes then
        objSO.CurrentSelection.Save
    else
        MsgBox "The selection change were not saved.", vbInformation + vbOkOnly, "SuperCOM"
    end if
else
    MsgBox "Unable to connect to database"
end if
Set objSO = Nothing

See Also