AdsGetMemoBlockSize

Advantage Client Engine

Returns the block size of a memo file associated with a table or cursor.

Syntax

UNSIGNED32

AdsGetMemoBlockSize (ADSHANDLE hTable,
UNSIGNED16 *pusBlockSize);

Parameters

hTable (I)

Handle of table or cursor.

pusBlockSize (I)

Buffer in which to return the memo block size.

Special Return Codes

AE_NO_MEMO_FILE

The table or cursor handle must have an associated memo file.

Remarks

AdsGetMemoBlockSize returns the memo block size of the memo file associated with the table or SQL cursor handle. The memo block size can be configured when creating a table via the AdsCreateTable or AdsCreateTable71 ACE APIs. Note that DBF/NTX (ADS_NTX) type tables and cursors always have a memo block size of 512.

See Also

AdsGetMemoLength

AdsGetMemoDataType

AdsCreateTable

AdsCreateTable71