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

Close subreport

Status
Not open for further replies.

Saint1234

Programmer
Feb 18, 2004
25
IE
Hi
I was wondering if there is a way to automatically close a sub report when it has lost focus. The problem I am having is when people are looking at a on demand sub report they then just click back into the main report and open a sub report for a different row, this is then leaving the client with a load of subreport tabs. I know this is a small problem and the best fix would probably be to tell them to stop being idiots but it would save me a lot of grief if there was a way to close the sub report when it had lost focus.

Thanks in advance
G
 
unfortunately you'll have to tell them to stop being idiots.

[2thumbsup]

Gary Parker
MIS Data Analyst
Manchester, England
 
If it's an in-house application, and you're using a Crystal Report Viewer control to display the reports, you could do this in the Viewer's ViewChanged event.

Otherwise, I believe Gary's would be the most eloquent solution ;)

-dave
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top