class CGXDaoParam: public CGXBrowseParam
CGXDaoParam holds specific data for the CGXDaoGrid. 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 you how you can embed a CGXDaoParam in a document, add support for opening several views on the same data and serialize scheme information.
CGXDaoParam holds the following base style ids for the named database field types:
- m_bsBoolean: dbBoolean
- m_bsNumeric: dbByte, dbInteger, dbLong, dbSingle, dbDouble
- m_bsCurrency: dbCurrency
- m_bsDate: dbDate
- m_bsText: dbText
- m_bsBinary: dbLongBinary
- m_bsMemo: dbMemo
- m_bsGUID: dbGUID
- m_bsDeletedRows for deleted rows appearance.
CGXDaoParam also has an additional attribute by which 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 <gxdao.h>