UpdateField
Updates the current field in the page data file with the value and position of the located word.
Syntax
bool UpdateField ()Parameters
None.Returns
Always True.Level
Field level only.Details
Updates the appropriate field in the current page's Data file with the recognized (and possibly formatted) value of the located word or phrase.Important: An entered
value that the UpdateField action places in a Data file becomes a
captured value, and can be processed by Validation and Export RuleSets.
- Example
FindKeyList("Date") GoRightWord("1") IsDateValue() UpdateField()The first action in the sequence finds a word or phrase that identifies the Date Field object of the current page. This is the field's static value - probably its title.
The next action moves right one word or phrase to locate the field's entered value, a recognized date such as 12/31/2002. The third action checks to be sure the value has an acceptable Date format.
The concluding UpdateField action takes place only if the others are successful. It adds the field's entered value to the current page's Data file, where it is a captured value awaiting the attention of upcoming rules with Validate and Export actions.