Retrieving schema and system information

<< Click to Display Table of Contents >>

Navigation:  Application development > Retrieving schema and system information >

Retrieving schema and system information

Previous pageReturn to chapter overviewNext page

A set of Borland Database Engine (BDE) functions return schema or system information. Some functions, in the format DbiOpenxxxList, can be used to return a cursor to an in-memory table whose records contain the requested information. Other functions in the format DbiGetxxxDescs return information directly to descriptor structures and arrays supplied by the application. In each of the topics below you will find a chart of record structures of the virtual table returning the information.

DbiOpenList Functions
Return a cursor handle to an in-memory table listing the requested information. This topic includes an example that illustrates the use of a static structure as the record buffer

DbiGetDescs Functions
These function calls return descriptive information. Inquiry function structures are supplied by the application. This topic includes an example showing how to retrieve all the index descriptors with one function call.