Click or drag to resize

SQLSelect.FIELDGET Method

X#
Retrieve the contents of the specified column.

Namespace:  VO
Assembly:  VOSQLClasses (in VOSQLClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD FIELDGET(
	uField
) AS USUAL CLIPPER
Request Example View Source

Parameters

uField (Optional)
Type: Usual
The name, number, or symbol representing the desired column.

Return Value

Type: Usual
The contents of the specified column, whose data type depends on the data type of the column, which is available from the Column() or ColumnAttributes() method. The following table shows how the ODBC database data type is mapped to the X# return value and the return value if the SQL value of the column is NULL:
ODBC Data TypeReturn Value - NULL Return Value
SQL_BIGINTDWORD - NIL
SQL_BITLOGIC - NIL
SQL_CHARSTRING - NULL_STRING
SQL_DATEDATE - NULL_DATE
SQL_DECIMALREAL8 - NIL
SQL_DOUBLEREAL8 - NIL
SQL_FLOATREAL8 - NIL
SQL_INTEGERLONGINT - NIL
SQL_LONGVARBINARYMEMO - NULL_STRING
SQL_LONGVARCHARMEMO - NULL_STRING
SQL_NUMERICREAL8 - NIL
SQL_REAL REAL4 N- IL
SQL_SMALLINTSHORTINT - NIL
SQL_TIME STRING - NULL_STRING
SQL_TIMESTAMPSTRING - NULL_DATE
SQL_TINYINTBYTE - NIL
SQL_VARCHARSTRING - NULL_STRING
See Also