CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: GCDEF

Search: Search took 3.00 seconds.

  1. Re: how to order records in ACCESS by MFC objects like CDaodatabase or CDaoRecordset?

    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.
  2. Re: how to order records in ACCESS by MFC objects like CDaodatabase or CDaoRecordset?

    If you look at the documentation for CDaoRecordset, I think you'll find a member with a pretty obvious name that does what you want.
Results 1 to 2 of 2





Click Here to Expand Forum to Full Width

Featured