I've never used a CDaoRecordset, but it's possible your sql statement is overriding the m_strSort. Try adding ORDER BY to sql, or leaving sql NULl and using m_strFilter and m_strSort.
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Search:Type: Posts; User: GCDEF Search: Search took 3.00 seconds.
Results 1 to 2 of 2
|
Click Here to Expand Forum to Full Width |