Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sorting in Reports
Message
De
12/07/2006 02:49:14
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01135090
Message ID:
01135583
Vues:
14
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform