Solved

ACCESS reports appear behind form

Posted on 2012-04-13
4
331 Views
Last Modified: 2012-04-17
new preview report appears behind the form
how can i have the preview of the report appear in front of the form
0
Comment
Question by:wildm4n
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 47

Assisted Solution

by:Dale Fye (Access MVP)
Dale Fye (Access MVP) earned 250 total points
ID: 37842053
You should be able to do this by changing the windowmode (second to last last argument in the OpenReport method)

docmd.OpenReport "rptname", acViewPreview,,, acDialog

You might also be able to accomplish it by changing the Popup property of the report (on the Other tab of the properties dialog) to Yes.
0
 
LVL 31

Expert Comment

by:Helen_Feddema
ID: 37843856
Or hide the form when the report is previewed.
0
 
LVL 74

Accepted Solution

by:
Jeffrey Coachman earned 250 total points
ID: 37854203
Also, make sure the "Form" is not opened in Dialog or pop-up mode...
As this will prevent other windows (ie, ...your report) from opening up on top.

All in all, if the form is opened normally, ... and the report is opened from a button on the form, ...the report should be on top.
This is the standard behavior.
.
0
 

Author Closing Comment

by:wildm4n
ID: 37855289
both worked

the second solution was the best for my situation
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Parameter Query 33 50
Find unused columns in a table 12 68
ORDER BY 7 37
MS Access TransferDatabase with ODBC - Receive Run-time error '2507' 1 21
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question