Progress
ADM 2 Reference
serverCommit (data.i)
Server-side counterpart of the client-side Commit function, used when running in n-tier (client + AppServer) mode. Receives from the client-side counterpart a dual set of records (original and changed versions) for update. If comparing the original and current versions reveals no outside changes, updates the records. Otherwise, returns the current (changed) versions to the client side without update, for display to the user.
Parameters:INPUT-OUTPUT TABLE FOR RowObjUpd
The Update version of the RowObject temp-table.
OUTPUT cMessages AS CHARACTER
A CHR(3)-delimited string of accumulated messages from the server.
OUTPUT cUndoIds
List of any RowObject ROWIDs for which changes were rejected by a commit. Takes the form of RowNum/ADM-ERROR-STRING pairs, CHR(3) separators within pairs, comma separators between pairs.
Returns: Nothing (procedure)Notes: The current versions of not-updatable records, if any, are returned in the RowObject temp-table.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |