Get informations from mainreport on opening subreport

  • Thread starter Thread starter Ulrich Jenzer
  • Start date Start date
U

Ulrich Jenzer

Hallo
I have a mainreport and use on this several times the same subreport. In
each sub report another filter is to be set. I store the filter information
when opening the mainreport in the subreport.Tag (on mainreport).
How can I get this information and set subreports filter on opening the
subreport?

Thanks in advance,

Ueli
 
Ulrich said:
I have a mainreport and use on this several times the same subreport. In
each sub report another filter is to be set. I store the filter information
when opening the mainreport in the subreport.Tag (on mainreport).
How can I get this information and set subreports filter on opening the
subreport?

Try using the subreport's Open event to set its own Filter.

Generally, it's much better to use the Link Master/Child
properties to restrict the subreport data.
 
Back
Top