rwhisenant
28th April 2014, 17:59
Hello again,

I now am having an issue with passing a variable from the program script to the report script. In the program script I have a variable sprt (for summary report) set to true 1 or false 0. In debug mode I can see and varify that sprt is set to 1 in the program script for the summary report. In the same debug mode for the report script, the variable sprt is set to false 0.

In both the program and report script sprt is defined this way:

extern domain tcbool sprt

It is my understanding that when variables are set up this way, they are available for all programs/scripts within that session.

Can someone help me with this?

Thanks,

bhushanchanda
28th April 2014, 18:30
Hi,

Try commenting the declaration from your report script. It will solve the issue.

hklett
29th April 2014, 10:20
you have to define your variable as an input field of your report.

rwhisenant
30th April 2014, 19:24
Defining the variable as an input field, took care of the issue.

Thanks for all the information from everyone.

R