SET (Field Attributes)

SET (Field Attributes)

Welcome to our Knowledge Base

Documentation | Blog | Demos | Support

< All Topics
Print

SET (Field Attributes)

Modify certain attributes of fields.

Syntax

SET <fieldname> REQUIRED ON|OFF

SET <fieldname> FIELDLISTWIDTH <number>

SET <fieldname> HEADING <charstring>

SET <fieldname> MASKFIELD <charstring>

SET <fieldname> REMNAME <charstring>

Parameters

fieldnameThe name of a field.
ON or OFFSpecifies if the field can have the value $null. This is equivalent to changing the REQD field to “yes” or “no”.
numberAn integer constant.
charstringA character string.

Comments

This SET command enables users to modify certain attributes of fields without doing an ERASE and CREATE command. These SET commands modify the operational state of the fields and are in effect until the field’s owner is erased.
The SET REQUIRED command changes if a field can have the value $null. This is equivalent to changing the REQD field to “yes” or “no”.
SET FIELDLISTWIDTH alters the list width of a field.
SET HEADING and SET MASKFIELD alter the heading and mask patterns for a field. Setting HEADING and MASKFIELD to the zero length string ” effectively deletes any heading or mask that was previously defined.
SET REMNAME specifies a new remote name for the field or deletes the existing remote name if the new setting is ”.
The SET SELECTIVITY is identical to the existing SET SELECTIVITY command, except that the is specified before the attribute SELECTIVITY rather than after.

See Also

SET SELECTIVITY

Was this article helpful?
5 out of 5 stars

1 rating

5 Stars 100%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.

Deixe um comentário

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *

pt_BRPortuguese