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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing Parameters to a subreport using VB

Status
Not open for further replies.

jonnymadill

Programmer
May 19, 2003
7
GB
Hi,

I'm trying to pass parameters into a subreport of an RPT file. The problem is, these values aren't known until the 'housing' RPT file has been run (it executes a stored procedure on an ORACLE db). Once the results from the housing RPT are obtained it then passes some of these values as parameters to a subreport.

I've been told I need to loop through each section of the housing RPT and determine any subreports (thanks surfinggecko), but I was wondering is it possible to grab the values of fields from the RPT file in the VB code?

Could I identify the fields and then pass them into the subreport using the 'subreport' object in VB?

Thanks again for any help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top