void GXFillChoiceList (CDaoRecordset* pSet, CString& strChoiceList, BOOL bDisplayHeader);
pSet
Points to a CDaoRecordset with the data.
strChoiceList
A reference to the CString where the result string will be stored.
bDisplayHeader
TRUE if the field name should be inserted in the beginning of the choice list.
Lets you fill a choice list string with all data in the recordset. Each column will be separated with a tab. Each row will be separated with a newline character.
The function will be called from CGXDaoGrid::AttachForeignTable for building the choice list string to be assigned to the column.
CGXDaoGrid::AttachForeignTable
Class Overview | Class Members