General information
Category:
The Mere Mortals Framework
Title:
Reports with view parameter, but not from form
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only