Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reports with view parameter, but not from form
Message
From
28/09/2004 17:32:20
June Kendrick
Kendrick Associates, Inc.
New York, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Reports with view parameter, but not from form
Miscellaneous
Thread ID:
00946964
Message ID:
00946964
Views:
70
How do you pass a view parameter to a report, with out using a form in the dtaaenvirnment beforeopentables method?

I've got a form where I want to have a button on it that prints a one page report for the currently selected record in the initialselectedalias of the primary bizobj. I dropped a copy of the (subclassed) creportsobj on my form, and set up a view and data environment for this report. I know what I want to specify for the view parameter, so don't want to call up a form to make the user re-select what they've already selected on the existing form. I added a report variable to the report that is my view parameter. How do I set this so that it is there when the requery happens? Thisform is not accessible in BeforeOpenTables. Should I use _screen.activeform?

Thanks,

June
Next
Reply
Map
View

Click here to load this message in the networking platform