class CGXDbParam: public CGXBrowseParam
CGXDbParam holds specific data for the CGXODBCGrid. It can be shared among several views (works the same way as CGXGridParam). You can embed it in a document if you want to support several browse views on the same data, as for example in a dynamic splitter window. The DaoQuery sample shows how you can embed a CGXDbParam in a document, add support for opening several views on the same data, and serialize scheme information.
CGXDbParam holds the following base style ids for the named database field types:
- m_bsBoolean: AFX_RFX_BOOL
- m_bsNumeric: AFX_RFX_BYTE, AFX_RFX_INT, AFX_RFX_SINGLE, AFX_RFX_DOUBLE
- m_bsDate: AFX_RFX_DATE
- m_bsText: AFX_RFX_TEXT
- m_bsBinary: AFX_RFX_LONGBINARY, AFX_RFX_BINARY
- m_bsDeletedRows: for deleted rows appearance.
CGXDbParam also has an additional attribute whereby you can disable the automatic display of memo fields in the grid.
- BOOL m_bDisplayMemo - Set this attribute FALSE if you don’t want to have support for Memo fields (this may speed up the display if you have large memo fields). The default setting is TRUE.
#include <gxodbc.h>