WRITEATRECORD property
Applies To
WINDOWS property
Description
The OpenInsight ATRECORD property is an easy way of updating data in your forms in a similar fashion to the way the "@Record" variable worked in Advanced Revelation, but it does suffer from one potential drawback: any fields in the data record set via ATRECORD that are not bound to a control on the form are not updated when the form contents are saved.
Of course there is a reason for this: OpenInsight forms only update individual fields in a record when saving data rather than the entire record, and it is this capability that allows it to implement the "Ignore Self Locks" feature that means you can use more than one form to simultaneously edit data in the same record.
Still, not every scenario calls for this level of finesse, so OpenInsight 10 introduces a new WINDOW property called WRITEATRECORD. When set to TRUE$ all data set via the ATRECORD property is written to disk, just like "@Record" in Advanced Revelation.