mitchell
23rd June 2009, 21:46
BaanIVc4:

I have a session that will run one of many different reports depending on the selections a user makes on the Form.

In the script, within on.choice, I set "reportgrp" to the correct number based on the selection made on the form.

This works fine ... now I want to run this report as a job.

When I select "make job" from my session, I only get "reportgrp 1".

Is there a way to have my other reportgrp(s) when I am creating the job?

Thanks
Barb

manish_patel
24th June 2009, 06:35
Hi Barb,

Can you please explain how report group depends on Form selection criteria?
If possible; please upload Form screen and program script.

Hitesh Shah
24th June 2009, 18:50
When u make job , create.job section is executed . Initialize reportgrp in the before.choice of create.job and it will store the right report at the time of creating job itself and then there is no problem at the time of running job .

mitchell
24th June 2009, 21:12
Thank-you Hitesh.
That worked great.