Solved

MS Access 2003 - Open minimized and run print report

Posted on 2006-11-16
2
1,046 Views
Last Modified: 2012-08-13
I have an application process that opens an MS Access application once an hour and runs a report from the application.

I open the MS access Application from a batch file and when it opens it runs an autoexec macro to run the report.
Once the report is complete the macro closes the database.

How can I open the MS access App minimized or in background from the batch file and let it process the report without disturbing the user everytime the report runs?


Thank you in advance for your assistance.

Lou  
0
Comment
Question by:Lou Dufresne
2 Comments
 
LVL 4

Assisted Solution

by:DoubleJ92
DoubleJ92 earned 100 total points
ID: 17958307
Try this:

START /min "" "<insert path here>\dbname.mdb"
0
 
LVL 27

Accepted Solution

by:
jjafferr earned 400 total points
ID: 17959561
in your AutoExec Marco, have the following line:

runcommand  >AppMinimize              ' add this line
OpenReport  > ....
Quit


jaffer
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

895 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now