The Datacontrol is a new feature in REALbasic 3.5. It's purpose is to
provide a user interface for navigating through the records in a table.
It
automatically handles locked records by changing any editifields bound
to
the Datacontrol to read only when a locked record is displayed. But how
can
your code tell if a record is locked or not?
The Datacontrol has an undocumented property called "RecordLocked"
which is
true if the record is locked and false if it's not.
--
Geoff Perlman
President & CEO
REAL Software, Inc.
http://www.realsoftware.com
mailto:geoff at realsoftware dot com
Phone: 512-263-1233 x711
Fax: 512-263-1441
- - - - - - - - - -
Got a useful tip to share? Send it to us at:
REALbasic-tips at lists dot realsoftware dot com dot
For list commands, send "Help" in the body of a message to
<requests at lists dot realsoftware dot com>
|