C Examples: DbiSwitchToIndex

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

C Examples: DbiSwitchToIndex

Return to chapter overview

Set cursor to the specified index name:

This examples uses the following input:
fDbiSwitchToIndex(&hPXCur, "Vendor No", FALSE);

 

DBIResult fDbiSwitchToIndex(phDBICur phTmpCur, pCHAR IdxName, BOOL SavePos)

{

   DBIResult   rslt;

   rslt = Chk(DbiSwitchToIndex(phTmpCur, IdxName, NULL, NULL, SavePos));

   return rslt;

}