Kbase 15115: How to enable / disable field in updatable browse on the fly
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/05/1998 |
|
How to enable / disable field in updatable browse on the fly
With Version 8, a browse can be defined to have fields which are
enabled for updating. This is referred to as an editable browse.
It may be desireable to turn the editing capability on or off from
the 4GL. The syntax to do this is:
<file.field>:READ-ONLY IN BROWSE <browse-name> = TRUE|FALSE.
For example:
customer.name:READ-ONLY IN BROWSE b-cust = TRUE.
will disable updating for the name field.
This toggles the "updateability" of a column in a browse *assuming*
that the field is initially defined as enabled. If the field isn't
initially enabled, it can never be enabled at run-time. But if it
is initially enabled, it can be disabled and re-enabled at will.
Progress Software Technical Support Note # 15115