Sort on Fast report

1,101 views
Skip to first unread message

Pedro Faro

unread,
Jan 16, 2009, 5:10:47 AM1/16/09
to FastReport for [x]Harbour
Hi Spirin

How can i sort a field(s) in MasterData in fastreport.

The data is that is sent to Fastr is not sorted , but i need to
indicate in report designer that the data must be sorted .


Best regards

kokookao

unread,
Jan 17, 2009, 3:47:21 AM1/17/09
to FastReport for [x]Harbour
hi Faro:

What don't you index the database before FastReport ?

In Xharbour , it is Easy.

--
Best Regards
--------------------------------------------------------------
kokoo KAO

Pedro Faro

unread,
Jan 17, 2009, 1:32:55 PM1/17/09
to FastReport for [x]Harbour
Hi

My aplication is Xailer with SqlServer Database

Pratically i use Array's Browses to show data to the user.
I Send an array with the data to FastReport. I can only sort an array
with one column before i sent it to FR
I need that in the designer i can specify a column to be sort .


Best regards

Spirin Sergey

unread,
Jan 18, 2009, 1:47:52 PM1/18/09
to FastReport for [x]Harbour
Hello, Pedro,

FastReport do not cache any data, it read it directly from your
source. So, you need to sort your arrays. But, of course, you can do
it by calling Harbour/Xailer functions from Fastreport-script. Look at
OnStart/StopReport events, call them in your sorting functions.

---
Spirin Sergey.
"Paritet Soft" Company.
FRH sales: http://www.paritetsoft.ru/frh.htm
FRAX sales: http://www.hotsoft.ru/ALASKA/frax_eng.htm
Reply all
Reply to author
Forward
0 new messages