View Full Version : Hidden Reports


Davef28
06-26-2002, 06:53 AM
I have all my forms maximised. When I try and do a report in preview it is hidden behind my forms. What can I do to make them appear.

Thanks

Sohaila Taravati
06-26-2002, 07:56 AM
On your on open event of your report do this:
Me.Visible = True

Rich
06-26-2002, 08:13 AM
If they are Popup forms then you have to toggle the forms visible property

Davef28
06-26-2002, 10:39 AM
Thanks Guys. I now have the following code

Private Sub Report_Close()
[Forms]![Mainmenu].Visible = True
[Forms]![Reporting].Visible = True
[Forms]![Reporting].SetFocus
End Sub

Private Sub Report_Open(Cancel As Integer)
Me.Visible = True
[Forms]![Mainmenu].Visible = False
[Forms]![Reporting].Visible = False
End Sub


However when I close the report the form Reporting has Focus but I cannot click or key on it. Any help appreciated.