Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Report on buffered view printing only first record
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
00969488
Message ID:
00969505
Vues:
7
The form the report is being called from has 2 grids on it.

I was initially using a report that had a buffered view in its data environment, with the view set as the initially selected alias. All fields were prefixed with the view name as were the data groupings.

How would you recommend taking the focus off the grid?

I will test the alias theory.

>Two possible problems:
>
>1. If you have a grid on the form that you are running the report from, you can have problems because the grid takes over and changes the alias. Make sure you programmatically take focus off the grid and then run the report.
>
>2. The current alias has switched to something else. To test this theory, put a field on your report with an expression of ALIAS(). This way you can see what the current alias is.
>
>
>Cathy
>
>
>>I have a report that uses a buffered view that is empty initially, populated in a process, the report then runs and the view is then reverted.
>>
>>When I do a preview it works fine. Recently I added an option to automatically send the report to the printer or do a preview. The preview still works fine, but the sending the report to the printer has caused some grief. For some reason the report is only getting the first record. Does anyone have any ideas on what is going on here. If I do a browse of the view before the send to printer the report works fine.
>>
>>Jason
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform