virtual bool CChapterRecord<T>::GetChildRecords(HCHAPTER hChapter=0, ULONG nColChapter=-1);

Return Value

        true if successful; otherwise false.

Parameters

        [in] hChapter:

                A HCHAPTER value.

        [in] nColChapter:

               A chapter column ordinal.

Remark

        Retrieves a chaptered rowset with a given HCHAPTER value according to a chapter column nColChapter. If hChapter is 0, a CChapterRecord<T> uses the current row HCHAPTER value of its nColChapter column. If nColChapter is -1, it uses the first chapter column to get a chaptered rowset. It is pointed out that a chapter rowset may have two or more chapter columns. An alternative to this method is CChapterRecord<T>::GetReferencedRowset. For how to use this function, see the example DataShape.

CChapterRecord<T> Class Overview & Class Members