


The AcuODBC Read-Only directive allows you to make some fields or columns of data read-only, while preserving normal access to other fields or columns. When placed immediately before a data item in an FD, this directive assigns the read-only attribute to the item. The read-only attribute applies only to the next data item with a picture clause and not to group items. Subsequent data items return to normal read-write access.
$XFD COMMENT ACUODBC READ-ONLY
To make an entire table read-only, you can embed the following statement anywhere in the FD:
Syntax
$XFD COMMENT ACUODBC READ-ONLY TABLE
If you add this directive to the FD, you should use the "xfdcrypt" utility included with AcuODBC to encrypt your XFDs. Otherwise, users could edit the XFD file to gain access to privileged fields. For information on encrypting XFDs, see Section 7.3.2 "AcuODBC Hidden Directive."