C Examples: DbiCloseCursor

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

C Examples: DbiCloseCursor

Return to chapter overview

Close the specified table cursor:

If the cursor is not an open cursor, the function exits. This example uses the following input:
         fDbiCloseCursor(&hCur);

DBIResult fDbiCloseCursor (phDBICur phTmpCur)

{

   DBIResult        rslt = DBIERR_NONE;

   if (*phTmpCur != 0)

      rslt = Chk(DbiCloseCursor(phTmpCur));

   return rslt;

}