Compartilhar via


CDaoRecordset::m_strSort

Contains a string containing the ORDER BY clause of a SQL statement without the reserved words ORDER BY.

Remarks

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 related information, see the topic "Sort Property" in DAO Help.

Requirements

Header: afxdao.h

See Also

Reference

CDaoRecordset Class

Hierarchy Chart

CDaoRecordset::m_strFilter

Other Resources

CDaoRecordset Members