CGXDaoGrid::OpenRecordset
virtual void OpenRecordset();
Remarks
Opens the recordset (only if not yet opened), initializes the columns (width, field name, length, base style) and redraws the grid. This method is typically called from CGXDaoGrid::OnGridInitialUpdate.
If no recordset has been attached to the grid, the method will assert.
If the recordset has already been opened, the method only initializes the grid columns based on the fields information in the CDaoRecordset.
The method will reset any contents in the CGXData object.
If you did not turn off the MFC double-buffering mechanism for the CDaoRecordset, the method will trace a warning in debug builds (see the CGXDaoGrid class description).
See Also
CGXGridCore::OnGridInitialUpdate