cancel
Showing results for 
Search instead for 
Did you mean: 

Shared variables

Former Member
0 Kudos

Hi,

I have defined these by one formula

shared StringVar list1;

shared StringVar list2;

and in the subreport, I tried to assign some values to the 2 variables.

shared stringvar list1:={Command.CHK_LIST};

shared stringvar list2:={Command.CHK_LIST2};

Is it true that in the main report, I can further retrieve the values of the variables like these

shared StringVar list1;

shared StringVar list2;

in 2 different formulas?

My only question is, can the shared variable be refreshed in the subreport and can we then use the refreshed values of the varaibles in the main one?

Bst Rgds,

HuaMin

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

If I understand your question, I think you may need to add WhilePrintingRecords; to your statements.

This should cause the evaluations to occur later in the report processing

Former Member
0 Kudos

when you use a shared variable it will automatically will use whileprintingrecords

yes the shared variable can be refreshed in the subreport.

Edited by: Zilla Eh on Jul 21, 2009 5:57 PM

Answers (0)