Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grouping foul-up at runtime - help needed badly
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
01221033
Message ID:
01221395
Vues:
15
This message has been marked as the solution to the initial question of the thread.
Do you have the views ordered correctly? The report writer does not sort the data for you based on your data groups. It's up to you to make sure the data is in the right order with indexes or SQL ORDER BY.

To test what you have at the time the report is running, add a dummy field to the detail band with an expression of ALIAS() to make sure the right cursor is selected. If you use indexes, go ahead and add another dummy field to see the order.

One more thing to check .. if the form has a grid on it, programmatically take focus off the grid before you run the report. There are issues where VFP changes the current alias to the one of the grid so it can refresh the grid and that can mess up your report.
Cathy Pountney, Microsoft Visual FoxPro MVP
Memorial Business Systems, Inc. (www.mbs-intl.com)

My Website: (www.frontier2000.com)
My Blog: (www.cathypountney.blogspot.com)
My Book: The Visual FoxPro Report Writer - Pushing it to the Limit and Beyond
Free MSDN Article: What's New in the VFP 9.0 Report Writer
Free MSDN Article: The VFP 9.0 Report Writer In Action
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform