Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to: Push method on main and pull on subreports using .net?

Status
Not open for further replies.

olitvinov

Programmer
Oct 21, 2004
47
CA
I have a report that has subreports.
I'm trying to use a push method for main report.
For subreports I want to be pulled.
My code either gives me connection error or there would be no data in subreports. Any way I put it the output is incorrect.
How do I code it correct way?
The samples available is only for all tables 'push' or
all tables 'pull'.

Here's what code does now:
1. main report is set with SetDataSource(ds) method.
2. for each subreport I provide ConnectionInfo.
the result is connection error.
If I reverse 1 and 2 the result is empty subreports.

Thanks,
Oleg
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top