CGXDynamicRecordset::FillChoiceList
void FillChoiceList(CString& strChoiceList, BOOL bDisplayHeader);
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.
Remarks
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 CGXODBCGrid::AttachForeignTable for building the choice list string to be assigned to the column.
See Also
CGXODBCGrid::AttachForeignTable