AdsGetTableOpenOptions

Advantage Client Engine

Retrieves the options used to open the table

Syntax

UNSIGNED32

AdsGetTableOpenOptions (ADSHANDLE hTable,

UNSIGNED32 *pulOptions);

Parameters

hTable (I)

Handle of table or cursor.

pulOptions (O)

A bit field of options with which the table was opened.

Remarks

AdsGetTableOpenOptions will retrieve the option setting specified during the table open. Specific options can be determined by performing a bitwise "and" operation with a possible value to determine if the appropriate bit is set. For example, if ADS_EXCLUSIVE was specified on an AdsOpenTable call, in the C programming language, ulOptions & ADS_EXCLUSIVE will evaluate a non-zero value. In Visual Basic, ulOptions AND ADS_EXCLUSIVE would be non-zero.

Example

Click Here

See Also

AdsOpenTable

AdsCreateTable