Remarks
Contains a string containing the ORDER BY clause of an SQL statement without the reserved words ORDER BY. You can sort on dynaset- and snapshot-type recordset objects.
You cannot sort table-type recordset objects. To determine the sort order of a table-type recordset, call SetCurrentIndex.
The use of m_strSort has no effect when opening a recordset using a CDaoQueryDef pointer.
For more information about selecting records, see the article DAO Queries: Filtering and Parameterizing Queries in Visual C++ Programmer's Guide. For related information, see the topic "Sort Property" in DAO Help.
CDaoRecordset Overview | Class Members | Hierarchy Chart
See Also CDaoRecordset::m_strFilter