NetTalk Central

Author Topic: Report Progress Bars - OnClick Procedure  (Read 1847 times)

charl99

  • Full Member
  • ***
  • Posts: 185
    • View Profile
    • Email
Report Progress Bars - OnClick Procedure
« 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

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11191
    • View Profile
Re: Report Progress Bars - OnClick Procedure
« Reply #1 on: October 11, 2012, 07:35:13 AM »
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?

charl99

  • Full Member
  • ***
  • Posts: 185
    • View Profile
    • Email
Re: Report Progress Bars - OnClick Procedure
« Reply #2 on: October 12, 2012, 04:19:00 AM »
>> 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

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11191
    • View Profile
Re: Report Progress Bars - OnClick Procedure
« Reply #3 on: October 12, 2012, 06:09:52 AM »
Hi Charl,

I've added a new embed point for you in the 6.47 build.

cheers
Bruce

charl99

  • Full Member
  • ***
  • Posts: 185
    • View Profile
    • Email
Re: Report Progress Bars - OnClick Procedure
« Reply #4 on: October 15, 2012, 05:32:30 AM »
Thanks a lot!

Have a good day.