Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sorting in Reports
Message
From
12/07/2006 02:49:14
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01135090
Message ID:
01135583
Views:
13
In addition to what Dragan told you,
You should also learn about concept of preprocessing report output
into cursors, rather then using native tables for reporting.

If you are using native tables to do your reports and you add index every time you need to write report - your databses will become mess over period of time.

On the other hand, by using SQL statement to retrieve your report output into cursor - you can also ORDER it without having to add actual index key
even to a cursor.

BTW nothing wrong with index on temporary cursor.
They can be indexed as you pleased because those indexes
will dissapear together with the cursor when session is over.
This way you can offer your user more then one choice of ORDER for long report.

If you knew all this, then I just bored you to death
[ along with 'old wolfs' like Dragan :) ]















>Thanks! That worked great!
>Colombo.
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform