Progress
ADM 2 Reference
validateFields (datavis.p)
Validates a field in a data-display object.
Parameters:INPUT-OUTPUT pcNotValidFields AS CHARACTER
Valid values on output are:
Returns: Nothing (procedure)Notes:
- Called from updateRecord to ensure that data can be saved.
- Field validation on leave cannot be trusted because save can be triggered by accelerators and no-focus buttons (toolbar).
- Currently, only one error is handled. Validate() on hidden objects does not give any message.
- Validation will always check unmodifed fields. This is useful for add/copy but not otherwise, as those fields will not be saved.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |