FastReport: sorting

Posted on 2011-05-05
Medium Priority
Last Modified: 2012-06-27
For FastReport VCL/Delphi:

is there anyway to sort data without doing it using TTable/TQuery orderfield ?
Question by:dinko1
LVL 32

Accepted Solution

Ephraim Wangoya earned 2000 total points
ID: 35702712

The best and fastest way is to get the data from the database in correct order
select * from yourtable order by yourfield

To do it on the dataset, you can just set the IndexFieldNames property
Table1.IndexFieldsNames := 'Field1'


Author Comment

ID: 35882589
delete it ok!
LVL 101

Expert Comment

ID: 35892784
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Loops Section Overview
Suggested Courses

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question