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

Command button and SubReport

Status
Not open for further replies.

cathyg18

MIS
Mar 12, 2001
54
US
I want a subreport to open only when a command button is pushed to open it, and have the subreport correctly connected to the current record in the main report. I have been able to either insert the subreport and have the records correctly connected, but always visible; or insert the command button to open the subreport on request, but show all records in the subreport, not just those related to the visible record in the main report.

Any ideas?

TIA, Cathy
 
How about if you set the visible property of the sub to false and then have the command button set it to true? _________
Rott Paws

...It's not a bug. It's an undocumented feature!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top