Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing parameters to reports
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00926767
Message ID:
00948986
Views:
21
Where are you referencing "ThisForm" in the report? Is it an expression on a field object or inside the data environment. I should have mentioned that ThisForm doesn't work in the data environment but does work in field expressions, print when expressions, variables, and so on.



>I must be doing something wrong, I'm getting an "Object is not contained within a ." error trying to use Thisform. How am I supposed to 'run the report from within a VFP form'?
>
>I'm printing the report from a command button on a page on a pageframe, which calls an oReport object on the form, which finally runs the statement
>
REPORT FORM (lcFile) TO PRINTER PROMPT NOCONSOLE
>
>Chris.
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