The uploadrecord statement uploads the current record to the server, even if it was not locked (for emergency use only).
Parameters
No parameters.
Description
The uploadrecord statement uploads the current record to the server, even if it was not locked. This statement only applies to shared databases. It is ignored when used with a single user Panorama database. (Note: This statement is for emergency use only, as it violates record locking rules and may cause data modifications made by other users to be lost.)
Here is an example of how this statement could be used. This code modifies the Color field of the current record – but without locking the record. The final line of this code uploads the changed color (and all other fields in the record) to the server.
serverupdate "off"
Color = "BLUE"
serverupdate "on"
uploadrecord
Remember, this statement bypasses record locking. If someone else was editing this record when this code was run, they won’t be able to unlock the record and commit their changes to the server. Because of this, the uploadrecord statement should never be used in normal operation. It’s available for emergency use if somehow a change gets made on a client computer but couldn’t be uploaded to the server immediately.
The Upload Record operation is also available from the Records menu. Hold down the Option key to make this command visible in the menu.
See Also
History
Version | Status | Notes |
10.2 | New | New in this version. |