Hi
I have a subreport called vendors. 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.
Any Ideas?
Mike
I have a subreport called vendors. 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.
Any Ideas?
Mike