Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Preview output gives different results to printed output
Message
De
16/04/2002 09:06:13
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00645338
Message ID:
00645393
Vues:
15
>Does it happend if you run those three lines from the command window? Do >you've a grid on the form you call your report from?

>>Using VFP7 SP1, I have a report which has a simple structure, with a single detail band relying on a cursor.
>>
>>The three lines of code are:
>>
>>SELECT lcursLiteraturePack
>>LOCATE .T. && or GO TOP
>>REPORT FORM cedenLiteratureRequest.frx TO PRINTER NOCONSOLE
>>
>>There is no data environment within the report.
>>
>>The lcursLiteraturePack contains 3 records (proved using RECCOUNT()) just before the report form.
>>
>>If you change the REPORT FORM to PREVIEW, these records display correctly. If you then select the Print button from the PREVIEW toolbar this swaps to displaying two records from a different cursor.
>>
>>If I put a BROWSE NORM before the REPORT FORM, the output is O.K.
>>
>Has anyone else experienced this, or is there a KB article regarding this.
>>
>>Thanks in advance

If I suspend the program, or put an alias() field in the detail band, I can see that the cursor it is picking up is the lcursNoteDisplay one instead of lcursLiteraturePack.

There is a grid on the screen, whose recordsource is lcursLiteraturePackDisplay. Is there an issue around having grids and running reports ?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform