ADS -> AdsGetFieldType y AdsGetMemoDataType
Posted: Tue May 16, 2006 1:57 pm
Hola,
Alguien tiene codificadas las funciones AdsGetMemoDataType() y/o AdsGetFieldType() ?. No consigo afinarlas
AdsGetFieldType()
AdsGetMemoDataType()
Gracias por el cable.
Alguien tiene codificadas las funciones AdsGetMemoDataType() y/o AdsGetFieldType() ?. No consigo afinarlas
AdsGetFieldType()
Code: Select all
Syntax
UNSIGNED32 AdsGetFieldType (ADSHANDLE hTable, UNSIGNED8 *pucFldName, UNSIGNED16 *pusType);
Parameters
hTable (I) Handle of table or cursor.
pucFldName (I) Name of field.
pusType (O) Retrieves the type of the field (ADS_LOGICAL, ADS_NUMERIC, ADS_DATE, ADS_STRING, ADS_CISTRING, ADS_MEMO, ADS_VARCHAR, ADS_COMPACTDATE, ADS_DOUBLE, ADS_INTEGER, ADS_IMAGE, ADS_BINARY; ADS_SHORTINT; ADS_TIME; ADS_TIMESTAMP; ADS_AUTOINC; ADS_RAW; ADS_CURDOUBLE, ADS_MONEY)
Code: Select all
Syntax
UNSIGNED32 AdsGetMemoDataType (ADSHANDLE hTable, UNSIGNED8 *pucFldName, UNSIGNED16 *pusType);
Parameters
hTable (I) Handle of table or cursor.
pucFldName (I) Name of the field to check memo type.
pusType (I) Buffer in which to return the type of memo. This will be one of the following: ADS_MEMO, ADS_BINARY, or ADS_IMAGE.
Gracias por el cable.