Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
1st Detail Line Printing For Whole Report
Message
De
24/06/2008 00:02:18
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01326236
Message ID:
01326255
Vues:
17
>I had this same problem about 4 years ago, but I don't remember how I fixed it. I have a "billing detail" table used as the primary input for report, (with associated master tables - customer/category/etc); and the 1st detail line in the billing detail table is printed on every detail line of the report. When I do a preview in the development environment, it is displayed correctly. Can someone point me in the right direction?

The current alias when you run the report is not the alias that you're printing. So it's reprinting the data from the alias you wanted, once for every record of the alias you're going through... which is a wrong one.

Possible causes:
- your code selects some other table at the last millisecond before running the report
- your code in report's dataenvironment selects some other table and then continues running the report on it
- you have a grid which has the focus, and it chooses to refresh when you run the report. Your report prints the same record for each record of the grid's underlying alias.

Cure for first two is to just fix the code, or lose the alias in report's fields. For the third, get the focus off the grid before running the report.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform