TITLE | VALUE | |
---|---|---|
NAME | MAG FIELD VALIDATE | |
DESCRIPTION | This provides an interface with the VA Fileman Database Server (DBS) API for the single field validator: VAL^DIE. | |
TAG | DVAL | |
ROUTINE | MAGQBUT4 | |
INPUT PARAMETERS | SEQUENCE NUMBER | 1 |
INPUT PARAMETER | FILE | |
DESCRIPTION | This is the file number that contains the attribute to be validated. | |
PARAMETER TYPE | LITERAL | |
REQUIRED | YES | |
MAXIMUM DATA LENGTH | 99 | |
INPUT PARAMETERS | SEQUENCE NUMBER | 2 |
INPUT PARAMETER | IENS | |
DESCRIPTION | This is the record number or place holder of the entry being validated. | |
PARAMETER TYPE | LITERAL | |
REQUIRED | YES | |
MAXIMUM DATA LENGTH | 99 | |
INPUT PARAMETERS | SEQUENCE NUMBER | 3 |
INPUT PARAMETER | FIELD | |
DESCRIPTION | This is the number of the file attribute to be validated. | |
PARAMETER TYPE | LITERAL | |
REQUIRED | YES | |
MAXIMUM DATA LENGTH | 99 | |
INPUT PARAMETERS | SEQUENCE NUMBER | 4 |
INPUT PARAMETER | FLAGS | |
DESCRIPTION | This is the option set of parameters defined for the VAL^DIE E External value is returned in RESULT(0). F FDA node is set for valid data in array identified by FDA_ROOT. H Help (single ?) is returned if VALUE is not valid. R Record identified by IENS is verified to exist and to be editable. Do not include "R" if there are placeholders in the IENS. U Don't perform key validation. Without this flag, the data in VALUE is checked to ensure that no duplicate keys are created and that key field values are not deleted. | |
PARAMETER TYPE | LITERAL | |
REQUIRED | NO | |
MAXIMUM DATA LENGTH | 99 | |
INPUT PARAMETERS | SEQUENCE NUMBER | 5 |
INPUT PARAMETER | VALUE | |
DESCRIPTION | This is the value to be validated. | |
PARAMETER TYPE | LITERAL | |
REQUIRED | YES | |
MAXIMUM DATA LENGTH | 99 | |
RETURN VALUE TYPE | SINGLE VALUE | |
RETURN PARAMETER DESCRIPTION | It returns the resolved external value or -1 followed by the carat delimiter and one of the following error messages: 120 Error occurred during execution of a FileMan hook. 299 Ambiguous value. (Variable Pointer data type only.) 405 The file is uneditable. 520 The field's data type or INPUT transform is inappropriate. 602 The entry cannot be edited. 701 Value is invalid. 710 The field is uneditable. 712 An inappropriate deletion of a field's value is being attempted. 740 A duplicate key is produced by a field's new value. 742 A value for a field in a key is being deleted. 1610 Help was improperly requested. | |
AVAILABILITY | RESTRICTED | |
INACTIVE | ACTIVE | |
CLIENT MANAGER | ||
WORD WRAP ON | ||
VERSION | ||
SUPPRESS RDV USER SETUP | ||
APP PROXY ALLOWED |