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:
01221417
Vues:
10
Thank you - it must have been the order thing - it worked as soon as I put an Order By... clause into the RV.

Still, it seems a bit strange that it would work at design time from within VFP.

BR

Peter


>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.
Peter Pirker


Whosoever shall not fall by the sword or by famine, shall fall by pestilence, so why bother shaving?

(Woody Allen)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform