I have a subreport, with a shared boolean variable called "Show" (simply warns that a "course" has been setup incorrectly).
The subreport is placed inside GF3 of my Main Report. Ultimately, I wish to use if for Group Selection and/or Suppression but the Main Report doesn't seem to be reading the current value of the variable in the subreport.
To prove it, I created the following simple formula (called Display) in the Main Report and displayed it in GF3 alongisde the subreport:
Shared Booleanvar Show;
The first few lines of my report follow (each is a GF3 section - most other sections are suppressed):
Subreport Main Report
======================
True False
True True
False True
Most lines thereafter are False & False respectively but if there is a difference, it always affects two rows as follows:
Subreport Main Report
=======================
True False
False True
Just in case you're wondering, here's the formula which assigns a value to Show in the subreport (in GF1):
Shared booleanvar Show;
If Minimum ({@Flag re Tutor}, {vRepActivity.ActivityCode}) >0 Then Show := Yes;
NB: {@Flag} simply assigns a value depending on the setup error so anything other than 0 is of interest.
Sorry if I've made a mess of explaining
Can anyone please offer me any assistance with this??
Thanks in advance.
J
The subreport is placed inside GF3 of my Main Report. Ultimately, I wish to use if for Group Selection and/or Suppression but the Main Report doesn't seem to be reading the current value of the variable in the subreport.
To prove it, I created the following simple formula (called Display) in the Main Report and displayed it in GF3 alongisde the subreport:
Shared Booleanvar Show;
The first few lines of my report follow (each is a GF3 section - most other sections are suppressed):
Subreport Main Report
======================
True False
True True
False True
Most lines thereafter are False & False respectively but if there is a difference, it always affects two rows as follows:
Subreport Main Report
=======================
True False
False True
Just in case you're wondering, here's the formula which assigns a value to Show in the subreport (in GF1):
Shared booleanvar Show;
If Minimum ({@Flag re Tutor}, {vRepActivity.ActivityCode}) >0 Then Show := Yes;
NB: {@Flag} simply assigns a value depending on the setup error so anything other than 0 is of interest.
Sorry if I've made a mess of explaining
Can anyone please offer me any assistance with this??
Thanks in advance.
J