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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top