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!

Sort and Filter failure

Status
Not open for further replies.

MLNorton

Programmer
Nov 15, 2009
134
US
I have a procedure that prints data from an ADOTable. The data is sorted and filtered so that only a few of the 200 records are printed. This procedure works fine.

I have another Procedure that displays the identical data on a Form. This data is sorted and filtered in the same manner except that the sort and filter do not work.

I am running Delphi 7 on a Windows 7 machine.

What could cause this problem?
 
How are you applying your filter? Are you calling any dataset refresh methods after applying the filter?
 
Are they both sharing the same ADOTable or do they each have their own? If they are different, are you copying or reproducing the filter/sorting?

JD Solutions
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top