Here is what I am attempting:
Basically, I have a main report and a subreport.
The main report looks a little like this:
details a id # ...
details b subreport
I am using a shared variable in the main report to share the id # to the subreport.
formula field in main report:
whileprintingrecords;
shared stringvar x;
x := {id #};
formula field in subreport:
whileprintingrecords;
shared stringvar x;
x
In the subreport, I also have a details a and b
details a contains the shared variable which is passed fine
details b contains the info I am looking for.
What I am trying to do is suppress the information in details b where my ID # is equal to the shared ID # from the main report, but I keep getting the error message "a statement is expected here" when I go when I try to go into the format section area and create a formula to suppress it. Can anybody help me out with a formula or how to get around this?
Basically, I have a main report and a subreport.
The main report looks a little like this:
details a id # ...
details b subreport
I am using a shared variable in the main report to share the id # to the subreport.
formula field in main report:
whileprintingrecords;
shared stringvar x;
x := {id #};
formula field in subreport:
whileprintingrecords;
shared stringvar x;
x
In the subreport, I also have a details a and b
details a contains the shared variable which is passed fine
details b contains the info I am looking for.
What I am trying to do is suppress the information in details b where my ID # is equal to the shared ID # from the main report, but I keep getting the error message "a statement is expected here" when I go when I try to go into the format section area and create a formula to suppress it. Can anybody help me out with a formula or how to get around this?