|
<< Click to Display Table of Contents >> Step 6: Get the properties of the table |
![]() ![]()
|
To get record information from the table, you need to determine the size of the record buffer. You can obtain this information from the cursor by using the function DbiGetCursorProps. The Cursor properties include information on the table name, size, type, number of fields, and record buffer size. You can find more information on cursor properties in CURProps.
CURProps curProps; // Properties of the cursor
Chk(DbiGetCursorProps(
hCur, // Handle to the cursor
&curProps)); // Properties of the cursor (table)
curProps.iRecBufSize contains the size of the record buffer.