C Examples: DbiOpenFamilyList

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

C Examples: DbiOpenFamilyList

Return to chapter overview

Create a table listing all family members associated with a table.

DBIResult fDbiOpenFamilyList(hDBIDb hDb, pCHAR TblName)

{

   DBIResult      rslt;

   hDBICur        hFmlCur;

   FMLDesc        FmlDesc;

   rslt = Chk(DbiOpenFamilyList(hDb, TblName, NULL, &hFmlCur));

   rslt = Chk(DbiGetNextRecord(hFmlCur, dbiNOLOCK,

                              (pBYTE)&FmlDesc, NULL));

   return rslt;

}