Re: All forms model/popup causes print preview hidden

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: tina (nospam_at_address.com)
Date: 05/28/04


Date: Fri, 28 May 2004 18:47:01 GMT

in the code that opens reports, you could add a line to make the current
form invisible, as

Me.Visible = False
DoCmd.OpenReport...

and then a line of code in the report's OnClose event procedure to show the
form again, as

Forms!MyForm.Visible = True

hth

"David" <uahenshdek@enmslorvbe.com> wrote in message
news:4A9B5D4E-E5F2-4253-A655-347287580324@microsoft.com...
> I was told to make all my forms modal and popup to prevent the user
accessing the toolbars. This works fine but when a print preview is done it
goes behind the current form. Any way around this ???