Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sorting A Recordset in c++

Status
Not open for further replies.

Ouen

IS-IT--Management
Sep 13, 2004
1
0
0
US
Can someone help me. I have two recordsets that are opened (ADO)
AdRecordSet and AdTimesRecordSet.

The data is then combined by the field AdID into a class / recordset SiteAdInfoSet (the instance is called CAddInfoSet)

I would like to sort CSiteAdInfoSet by m_NrPlays (int) in descending order (field came from AdTimesRecordSet.. I want to re-store the data back into CsiteAdInfoSet as to keep changes to a minimum.

The recordset does not have any SQL as part of it.

I hope this is clear
Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top