ADS -> AdsGetFieldType y AdsGetMemoDataType

ADS -> AdsGetFieldType y AdsGetMemoDataType

Postby Carles » Tue May 16, 2006 1:57 pm

Hola,

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

AdsGetFieldType()
Code: Select all  Expand view  RUN
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()

Code: Select all  Expand view  RUN
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
Skype -> https://join.skype.com/cnzQg3Kr1dnk
User avatar
Carles
 
Posts: 1141
Joined: Fri Feb 10, 2006 2:34 pm
Location: Barcelona

Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 43 guests