I have some popup-forms with a button that opens a report in preview.
How do I hide or close the form to preview the report.
I have tried to set form.formname.popup= false on the button, but it doesn't
work.
regards
reidarT
Albert D. Kallal - 08 Apr 2005 08:11 GMT
The whole idea of a pop up form is to stay on top.
Is there any possibly that you can use model forms......
Model forms do force the user "back" the way they came, and also model forms
appears on top of each other..and the user MUST return back the way they
came. So, perhaps using a model form here would do the trick?

Signature
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pleaseNOOSpamKallal@msn.com
http://www.members.shaw.ca/AlbertKallal
Geoffs - 08 Apr 2005 12:45 GMT
Hi ReidarT,
In the form Button_Click Event that calls the report put -
Me.Visible = False
BEFORE the OpenReport Line.
In the Report_Close Event put -
Form_CallingPopUpFormName.Visible = True
:-)
> I have some popup-forms with a button that opens a report in preview.
> How do I hide or close the form to preview the report.
> I have tried to set form.formname.popup= false on the button, but it doesn't
> work.
> regards
> reidarT