Searching the Help
To search for information in the Help, type a word or phrase in the Search box. When you enter a group of words, OR is inferred. You can use Boolean operators to refine your search.
Results returned are case insensitive. However, results ranking takes case into account and assigns higher scores to case matches. Therefore, a search for "cats" followed by a search for "Cats" would return the same number of Help topics, but the order in which the topics are listed would be different.
Search for | Example | Results |
---|---|---|
A single word | cat
|
Topics that contain the word "cat". You will also find its grammatical variations, such as "cats". |
A phrase. You can specify that the search results contain a specific phrase. |
"cat food" (quotation marks) |
Topics that contain the literal phrase "cat food" and all its grammatical variations. Without the quotation marks, the query is equivalent to specifying an OR operator, which finds topics with one of the individual words instead of the phrase. |
Search for | Operator | Example |
---|---|---|
Two or more words in the same topic |
|
|
Either word in a topic |
|
|
Topics that do not contain a specific word or phrase |
|
|
Topics that contain one string and do not contain another | ^ (caret) |
cat ^ mouse
|
A combination of search types | ( ) parentheses |
|
- Look-up processing
- Format Control processes
- Displayoptions
- Display value summary details
- Display range summary details
- Create validity table definitions
- Add field level definitions
- Add value definitions
- Add range definitions
- Validate the validity definitions
- Delete an entire validity record
- Delete a single value or range definition
- Delete value or range definitions from a table
- Print a detailed report of an entire validity record
- Validate fields during record processing
- Create a validity lookup option in Format Control
- Call validate.fields from Format Control
Validate fields during record processing
During record processing, the fields in a record can be validated one at a time or in a particular order.
Note: To invoke validity table processing, see the related topics. You must validate each validity table definition before using it to validate data records.
- Access the Format Control record for the form which you want to invoke validity table processing. If a record does not already exist, you must create one. For details on accessing and using Format Control, see the related topics.
- Display the Subroutines process.
-
Enter validate.fields in the Application Name field.
Note: The logical values in the Add, Update, and Before fields are examples only. For information on how to decide when Format Control is processed, see the related topics.
- Enter the applicable parameters for validate.fields in the Name and Value fields using the information from the following table:
Name Value Description second.file $file Executes all validity table records (all fields) defined for the file being processed. name <field name> Executes only one validity table definition (one field) defined for the file being processed.
Note: You can repeat this type of definition in the Format Control subroutines section as many times as necessary. However, it is more efficient to call the subroutine once and pass a list of the fields to be validated.names <list of fields> or $<variable> Executes a specific list of validity table definitions defined for the file associated with the form.
For example, define a $ variable in either the Initializations or Calculations process of the Format Control record as:
$fieldlist={"reason", "risk", "planned.start"}
In the Subroutine call, specify the Value input as:
Name: names Value: $fieldlist
Note: You can use any variable name you choose, however, you are responsible for ensuring that your variable name does not corrupt a variable used by the application validate.fields.text current.format() or <form name> Executes a specific list of validity table definitions defined for the form just displayed to the user. -
Enter a message in the Error Message field.
The recommended error message is: The original record is displayed.
If a message is not defined, an unfriendly error message is issued when returning to the data record.
- Click Save.
Related concepts
Invoking validity table processing
Data validation
Format Control
Format Control processes
Displayoptions
Related tasks
Display value summary details
Display range summary details
Create validity table definitionsAdd field-level definitions
Add value definitions
Add range definitions
Validate the validity definitions
Delete an entire validity record
Delete a single value or range definition
Delete value or range definitions from a table
Print a detailed report of an entire validity record
Create a validity lookup option in Format Control
Call validate.fields from Format Control
Related references