IProjectMemberSave Method |
Namespace: SuperOffice.COM.SuperOfficeDB
Save
This text may be copied to the notepad, and saved as a *.vbs file. Remember to change the login information.
Dim objSO Dim projMemb Dim result Set objSO = CreateObject("SuperOffice.Application") If not (objSO is nothing) Then projMemb = ObjSO.Database.GetProjectMember(1) result = MsgBox ("There have been no programmatically changes to your project member." & vbCrLf & "But, by pushing 'YES' this will save the changes on Project member with projectmember_id=1, are you sure?", vbInformation + vbYesNo, "SuperCOM") if result = vbYes then projMemb.Save else MsgBox "The project member change were not saved.", vbInformation + vbOkOnly, "SuperCOM" end if else MsgBox "Unable to connect to database" end if Set objSO = Nothing