NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: charl99 on October 11, 2012, 06:54:41 AM
-
Hi Bruce,
I've built a generic Report Form, so I can call many Reports from here.
Question is, will it be possible for you to change the OnClick Procedure so I can put something like p_web.gsv('Proc') there? Or some other way perhaps?
Thanks
Charl
-
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?
am I on the right track?
-
>> 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
-
Hi Charl,
I've added a new embed point for you in the 6.47 build.
cheers
Bruce
-
Thanks a lot!
Have a good day.