AdsGetRecord

Advantage Client Engine

Returns the current record as a single raw data buffer.

Syntax

UNSIGNED32

AdsGetRecord (ADSHANDLE hTable,

UNSIGNED8 *pucRec,

UNSIGNED32 *pulLen);

Parameters

hTable (I)

Handle of table or cursor.

pucRec (O)

Return record contents in this buffer.

pulLen (I/O)

Length of given buffer on input, length of returned data on output.

Special Return Codes

AE_NO_CURRENT_RECORD

Data cannot be retrieved from EOF or BOF

Remarks

Use of AdsGetRecord is strongly discouraged, especially if there are memo fields or extended data types present in the table. It is much safer to use AdsGetField and related functions to read information from a record.

Example

Click Here

See Also

AdsSetRecord

AdsGetField