Skip to content

Capslock Field Property

Obsolete

Refer to the Field Options property in the DataDictionary class.

Purpose

To replace lower-case characters in entry items and output windows with upper-case characters.

Syntax

set field_options field file.field to dd_capslock

or

entry_item file.field {capslock}

What It Does

Capslock is used on an entry item, format, or print command line. It automatically converts any lower-case characters in items to upper case (capital letters). It has no effect on non-alphabetic characters.

entry_item collect.subject {capslock}
format subheader1.3 thru subheader1.7 {capslock}
print employee.pay to body.2 {capslock}

In each of these examples, letters displayed in the value of the item or window(s) identified in the commands would be output in uppercase. In the case of the entry item example, keyboard entries would be converted to uppercase as they were made.

set field_options field mail.country to dd_capslock

When this option is applied to a field in a DataDictionary object, it does not itself ever change the case of letters in the field data on disk. What it does is:

  1. Provide for display of the field data in upper case in all items of DEOs using the DataDictionary.
  2. Provide for capitalization of all letters entered into such items by users.

This second action assures that all input to the field through DEOs using the DataDictionary will reach the disk only with letters in upper case.

Notes

  • Capitalization (what character is the uppercase of which other character, and vice versa) is set in the character-translation function of the Configuration.