xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

FieldType()

Retrieves the data type of a field variable.

Syntax

FieldType( <nFieldPos> ) --> cFieldType

Arguments

<nFieldPos>
A numeric value specifying the ordinal position of the field variable to query. Valid values are in the range from 1 to FCount().

Return

The function returns a single character indicating the data type of the specified field variable, or a null string ("") if <nFieldPos> is outside the valid range.

Description

FieldType() retrieves a particular information available for field variables: its data type.

Info

See also:DbFieldInfo(), DbStruct(), FieldDec(), FieldLen(), FieldName()
Category: Field functions , xHarbour extensions
Source:rdd\dbcmd.c
LIB:xhb.lib
DLL:xhbdll.dll


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe