cancel
Showing results for 
Search instead for 
Did you mean: 

Shared Variable used for Subreport Record Selection

Former Member
0 Kudos

I have a couple of shared variables created in the main report. But I get an error message "Shared Variable can only be used WhilePrintingRecords" when I try to incorporate them into the subreport's record selection formula. Any suggestions?

Thanks,

Art

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

the report to capture the values should use

whilepritingrecords;

shared nubmervar x:= x + field;

the one to display (your sub shared variables)

whileprintingrecords;

shared numbervar x;

x

Answers (0)