Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - sorting data in report....
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

sorting data in report....

 Post Reply Post Reply
Author
Message
ddlittle View Drop Down
Senior Member
Senior Member


Joined: 19 February 2004
Location: United States
Status: Offline
Points: 132
Post Options Post Options   Thanks (0) Thanks(0)   Quote ddlittle Quote  Post ReplyReply Direct Link To This Post Topic: sorting data in report....
    Posted: 27 July 2009 at 5:50pm
I want to sort my report in EndUpdate() - prior to the user seeing it - but can't find any public functions that do that.  It's surely possible, but the only way I can think of now is to hack in a mouse click on the column i'd like to sort by.
 
Any ideas?
 
Thanks!
 
- David
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post Posted: 27 July 2009 at 7:42pm
Having MFC source you can't find needed function?

// Summary:

// Sorts rows corresponding to the sort order taken from columns.

// Parameters:

// pRows - A rows collection to sort.

//CXTPReportControl

virtual void SortRows(CXTPReportRows* pRows);
 
you can setup needed sort order
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.