FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour ADS -> AdsGetFieldType y AdsGetMemoDataType
Posts: 1283
Joined: Fri Feb 10, 2006 02:34 PM
ADS -> AdsGetFieldType y AdsGetMemoDataType
Posted: Tue May 16, 2006 01:57 PM
Hola,

Alguien tiene codificadas las funciones AdsGetMemoDataType() y/o AdsGetFieldType() ?. No consigo afinarlas :-)

AdsGetFieldType()
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)


AdsGetMemoDataType()

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.
Salutacions, saludos, regards

"...programar es fácil, hacer programas es difícil..."

UT Page -> https://carles9000.github.io/
Forum UT -> https://discord.gg/bq8a9yGMWh
HIX -> https://github.com/carles9000/hix

Continue the discussion