>> so you have one button on the form, an "other" button marked as "print" or something like that.
>> Then the user selects a report from say a drop-down?
Nope.
It's a Browse with a lot of stuff on it, each being a report. User selects the report and it goes to a (Memory) Form, based on criteria specified in the file the Form allows for some input, then fires of the Report. At the moment, I can only run one Report. I think I am basically asking for an embed point denoted by xxxxxxxx below:
Start::StartReport Routine
p_web.ReplyComplete()
! connection to browser is now closed. File is now generated on the remains of this thread.
xxxxxxxx
omit('stuff')
PolicyStatements(p_web)
! Start of "Prepare Value"
! [Priority 5000]
stuff
where I can substitute xxxxxxxx for
case p_web.gsv('srp:reportno')
of 1017
PolicyStatements(p_web)
of 1027
CommissionStatements(p_web)
etc
Thanks
Charl