VA FileMan V. 22.0 Programmer Manual Banner


 

Main Chapter Getting Started Manual Advanced User Manual

Database Server (DBS) API


$$FLDNUM^DILFD( ): Field Number Retriever

This extrinsic function returns a field number when passed a file number and a field name.

Format
$$FLDNUM^DILFD(FILE,FIELDNAME)
Input Parameters
FILE

(Required) The file number of the field's file or subfile.

FIELDNAME

(Required) The full name of the field for which you want the number.

Output

The field number of the requested field is returned by this extrinsic function. If the field name does not exist or if there is more than one field with that name, a 0 is returned.

Example
    >W $$FLDNUM^DILFD(200,"DUZ(0)")
    3

Error Codes Returned
401 The file does not exist.
501 The file does not contain the field.
505 More than one field has the name.

 


Reviewed/Updated: March 10, 2007