C Examples: DbiGetCursorForTable

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

C Examples: DbiGetCursorForTable

Return to chapter overview

Retrieve a cursor for a table.

The table should have at least one open cursor already on it. This example uses the following input:
         fDbiGetCursorForTable("STOCK.DB", &hSTOCKCur);

DBIResult fDbiGetCursorForTable(pCHAR TblName, hDBIDb hDb, phDBICur phCur)

{

   DBIResult   rslt;

   rslt = Chk(DbiGetCursorForTable(hDb, TblName, szPARADOX, phCur));

   return rslt;

}