Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data changing when report is resized
Message
De
17/08/2017 09:07:34
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01653419
Message ID:
01653431
Vues:
47
>I've got it solved by setting the recordsource of the underlying grid to "" (not the same recordsource as the report uses), then running the report and serring up the grid again. Later I'll try, if this will also happen with the foxypreviewer.

Or, better, just try to select the same records into a different alias on which the report will run, so the grid dancing (its refresh can have such nasty side effects) doesn't influence the cursor for the report.

And dancing is probably the right expression (just because I read the title as "data dancing when..."). The grid, when refreshing, would bring the recno() of the alias to where its current record is; your report is going through the same records and then the grid is jumping it back to wherever it needs to - with the net effect that you don't know whether the report is finished by that time, whether it started from the first record etc etc. Keep them separate.

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