FieldType()
Determines the type of a given field.
Syntax
FieldType(<nFieldNum>) --> cFieldType
Arguments
<nFieldNum> Data field , which type need to be determined.
Returns
FieldType() returns the character that designates the type of a given field:</par>
'C' character string;
'N' numeric;
'L' logical;
'D' date;
'M' memo.
Description
This function determines the type of a field, designated by its number.
Examples
PROCEDURE Main()
LOCAL i
USE tests NEW
FOR i := 1 TO FCount()
? FieldType( i )
NEXT
USE
RETURN
Compliance
This function is CA-Cl*pper tools compatible
Files
Library is libmisc
Seealso
FCount(), FieldNum(), FieldName(), FieldSize(), DBF Structure