cancel
Showing results for 
Search instead for 
Did you mean: 

Evaluation Time error with Shared Variable in Subreport Selection Formula

Former Member
0 Kudos

A subreport is placed in the report footer section of the main report. This is the selection formula for the subreport:

WhilePrintingRecords;
Shared StringVar OneJob;
{Job.Job-ID} = OneJob

But this generates the following error: "The formula cannot be evaluated at the time specified."

The value of the shared variable OneJob is set in the details section of the primary report.

Any suggestions?

Art

Edited by: Art Schwalge on Oct 5, 2008 5:41 PM

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Please re-post if this is still an issue

Former Member
0 Kudos

Hi Art

I would like to tell you one thing which will be helpful to you.

-Report is executed from Top to Bttom and from Left to Right.

If you have place the subreport in the footer section of the main report and want to use the value of shared variable in the detail section of main report then it may not work.

-Would suggest you to insert the subreport in the header section of the main report and use the shared variable value in the detail section and if still you get an error message then please let us know.

Hope it helps

Regards

Asha.

Former Member
0 Kudos

Thank you Asha.

The value of the Shared Variable is determined in the detail section of the Main Report. I want to use this value in the Record Selection formula for the Subreport. So I think I have the placement correct.

Do you have any other thoughts?

Cheers,

Art