problem for two forms and one report

N

Natan

Ciao
sorry for my language-horror
I have a problem on my program developed on Access2003 .
It as composed two forms (Mask1 and Mask2 both popup and dialog edge)
and reports .
Start Mask1 and click the button that it open Mask2 overlapped
Mask1(mask1 is visible under Mask2 ) . On Mask2 there are any push-
button for as many reports.
When click one show the correspondent report and hide forms Mask1 and
Mask2. When I close or print the report i would have to the Mask2 over
Mask1

on click push-button on Mask2--------------------------------
Docmd.openReport "MyReport"
forms!Mask1.visible=false
forms!Mask2.visible=false

I control the report and close or print it

On report-close :
forms!Mask1.visible=true
forms!Mask2.visible=true
------------------------------

It will be strange but Mask1 is visible and Mask2 is not visible ....
I have controlled the code in debug but even if the line
forms!Mask2.visible=true is processed (no error) the state
visible=true it is not executed .... the Mask2 is hide and loaded, i
see only Mask1 ... mistery because some days before it worked normally
Ideas in purpose?
Thanks
Natan- Italy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top