Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Never Seperate Group
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00706925
Message ID:
00707023
Vues:
16
This may be a bit awkward, but...

Rather than having the Report Writer look at one (or more) tables;

Create a temporary table RPTTEMP with the fields needed for the report as well as a dummy field called BREAK.

Then write some code to go through RPTTEMP and determine where you want the breaks based on the number of records in each group and replace BREAK with eg "0001", "0002", etc.

INDEX RPTTEMP ON BREAK + (whatever the original index data was) TAG MAIN

Change your report to look at the data in RPTTEMP and add a GROUP based on BREAK.

Actually I seldom use production tables directly into REPORT WRITER. I almost always create a single temporary table or cursor and use that in the REPORT WRITER.

Regards,

Rudy
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform