Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report on buffered view printing only first record
Message
From
15/12/2004 15:22:28
 
 
To
15/12/2004 12:20:19
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
00969488
Message ID:
00969567
Views:
8
>The alias is being changed to the grid alias as you suspected. How do recommend to fix this?
>
>Jason

Move the focus off of the grid to some other control before attempting to issue the REPORT command.



>
>>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
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform