Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Another C000005 error
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01227789
Message ID:
01228177
Views:
30
>I've taken out everything but the ORIENTATION item. (As an aside, anytime I modify the report and save this field gets reset back to all these values - any way to prevent that?)

Modify the report and uncheck the printer environment option from the menu. If the option is checked, each and every time the report is saved the printer environment is saved. If it is unchecked, only the non-printer information such as orientation is saved.


>What could cause the Work Area to change in the report. There are no UDF's which could do this. There are some Data Groupings......could that be the cause????

Are you running the report from a form that has a grid on it? If so, FoxPro could by inadvertantly changing the alias to the recordsource of the grid so it can refresh the grid .. which of course is messing up the report. If this is the case, add some code just prior to running the report that takes focus off the grid and puts it on another control.
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
Next
Reply
Map
View

Click here to load this message in the networking platform