Using v8.5
I have a subreport. This report is grouped by City.
I need to share the total number of devices per group (city)
to my main report.
Here's what I have:
In my subreport:
@ShareCountOfDevicesPerCity
shared numbervar countdevice := Count ({table.Vendor}, {table.CITY})
In Main report:
@SharedDeviceCity
shared numbervar countdevice;
Problem:
When I place the 1st formula of my subreport in the City group it totals correctly, but my main report formula shows ZERO.
When I place the 1st formula of my subreport in the Page Header, it passes the first groups total to the main report,
only.
I have grouped my city in my main report and need to use the shared variable, but as it changes with each group from the sub.
one suggestion was:
dgillz (Instructor) Feb 16, 2003
preface both formulas with the statement "WhilePrintingRecords;"
this did not seem to work,
Any Ideas?
Andy
(note: this was previously posted by a co-worker username steder)
I have a subreport. This report is grouped by City.
I need to share the total number of devices per group (city)
to my main report.
Here's what I have:
In my subreport:
@ShareCountOfDevicesPerCity
shared numbervar countdevice := Count ({table.Vendor}, {table.CITY})
In Main report:
@SharedDeviceCity
shared numbervar countdevice;
Problem:
When I place the 1st formula of my subreport in the City group it totals correctly, but my main report formula shows ZERO.
When I place the 1st formula of my subreport in the Page Header, it passes the first groups total to the main report,
only.
I have grouped my city in my main report and need to use the shared variable, but as it changes with each group from the sub.
one suggestion was:
dgillz (Instructor) Feb 16, 2003
preface both formulas with the statement "WhilePrintingRecords;"
this did not seem to work,
Any Ideas?
Andy
(note: this was previously posted by a co-worker username steder)