Solved

ACCESS reports appear behind form

Posted on 2012-04-13
4
333 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 48

Assisted Solution

by:Dale Fye
Dale Fye 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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

635 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