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

Subreport fields

Status
Not open for further replies.

chintapalli

Programmer
Mar 15, 2002
10
US
Hi,

I have 12 picture objects in a sub report. I need to display only of them at a time based on a condition. I am instantiating the report in a VB designer form. I am trying to use the section format event. But couldn't figure out how to access subreport fields from the main report. Does anyone know have any inputs?

Thanks.

Harish.
 
I think you have it backwards. What you can do is set a global or shared variable equal to a value on the main report, then access that variable in your subreport. Just make sure you set the variable in a section before the subreportis executed.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top