Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Controls don't float
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00812900
Message ID:
00814033
Views:
11
Is the report defined as a Private Data Session?

Make sure you programmatically take focus off the grid before running the report.

Cathy


>I'll try it. Here's another question on another topic.
>
>Suppose you have a form that contains a grid in a parent child relationship. Then you pull a report from a menu. The data environment for the report is the opposite of the form. Parent becomes child, child becomes parent. The switch and restore is handled in the procedure code in the menu. After the report is run and control returns to the form, the grid on the form has lost its setup. Rows and columns are gone and there is no data in the grid. I can restore it column by column in the program code but this is a pain. Do you know an easy way to capture the grid's property sheet and then restore it after the data environment is switched and then switched back?
>
>Thanks
Cathy Pountney, Microsoft Visual FoxPro MVP
Memorial Business Systems, Inc. (www.mbs-intl.com)

My Website: (www.frontier2000.com)
My Blog: (www.cathypountney.blogspot.com)
My Book: The Visual FoxPro Report Writer - Pushing it to the Limit and Beyond
Free MSDN Article: What's New in the VFP 9.0 Report Writer
Free MSDN Article: The VFP 9.0 Report Writer In Action
Previous
Reply
Map
View

Click here to load this message in the networking platform