how to keep a report window ...

M

mchd

.... in fron of all ther windowd in MS Access 2000 ? when i try to preview a
report from a dialog box , the report windows dispalys in back of the dialog
box

any solution? thanks for any help
 
F

fredg

... in fron of all ther windowd in MS Access 2000 ? when i try to preview a
report from a dialog box , the report windows dispalys in back of the dialog
box

any solution? thanks for any help

Simplest way is to hide the dialog box if you open the report from
that form.

DoCmd.OpenReport "ReportName", acViewPreview
Me.Visible = False

If the report itself has opened the form, then just make the form not
visible:
Me.Visible = False

Code the Report Close event to make the form visible again:

forms!FormName.Visible = True

or to close the form:
DoCmd.Close acForm, "FormName"
 

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