Solved

Access 2003 Report goes to back after closing a form

Posted on 2014-02-12
2
533 Views
Last Modified: 2014-02-13
I have an access 2003 database with a form and a sub form.  on the subform there is a button that runs a macro.  The macro opens a floating form that has several buttons on them to run specific reports, also via macros. These reports are all run from the same query, but different filters on each report. The reports pop up in a print preview.

So User clicks on button on sub form. New free floating report menu form pops up with several buttons. Print this building, print that building, etc . . .

Whatever report they choose displays in a print preview fine. The free floating report menu form is still there.  If I close the free floating report menu form, it appears to close the report behind it as well. but it actually pushes the report back behind everything else. it's still open but the user cant see it.  Then, if they clcik on the same specific button again it doesn't do anything because that report is already open.

I want to do the following.

Open form. Click on this report menu button on subform.  click on one of the reports on the free floating report menu form, have the report open up and the free floating menu close automatically.  OR have it stay up in foreground and have user close it. That;s fine too.just as log as the report stays on top when its done.

Hope I make sense.
0
Comment
Question by:MrSlithy
[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
2 Comments
 
LVL 4

Accepted Solution

by:
Jack Leach earned 500 total points
ID: 39855042
Open the report preview in Dialog mode... that'll keep them from doing anything else while it's open.  That sounds like the easiest way to get to one of your desired behaviors.

I'm not sure the Macro syntax for it offhand (don't use them much, prefer VBA), but I'd guess it'll be fairly self explanatory.

hth
0
 
LVL 2

Author Closing Comment

by:MrSlithy
ID: 39857584
That did the trick. Exactly what I needed. Thanks!
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
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…
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…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.

695 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