A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Auto run/print report



 
 
Thread Tools Display Modes
  #1  
Old August 15th, 2007, 06:00 PM posted to microsoft.public.access.reports
Robbie
external usenet poster
 
Posts: 58
Default Auto run/print report

I have a report called "PICK TICKET" that I would like to setup to run every
10 minutes and print if data=True. Can this be done, please advise.
--
kuslusr1
  #2  
Old August 15th, 2007, 06:50 PM posted to microsoft.public.access.reports
krissco
external usenet poster
 
Posts: 167
Default Auto run/print report

On Aug 15, 9:00 am, Robbie wrote:
I have a report called "PICK TICKET" that I would like to setup to run every
10 minutes and print if data=True. Can this be done, please advise.
--
kuslusr1


Use a form and OnTimer event. Keep the form hidden.

In the OnTimer, perform the steps needed to evaluate your condition
(data=True). If another user is going to be on the workstation that
your form is running on, make sure and use lots of DoEvents statements
(otherwise they may wonder why their computer locks up every 10
minutes).

If data=true then
docmd.openreport "Pick ticket"
end if


-Kris

  #3  
Old August 15th, 2007, 07:14 PM posted to microsoft.public.access.reports
Robbie
external usenet poster
 
Posts: 58
Default Auto run/print report

thanks for the quick response, a bit more information. The database will run
continuously on a computer that will run 24/7. Only the report designer will
see the report and have the ability alter or manually run the report. We are
hoping to have the report auto generate pick tickets to our warehouse every 5
minute for item submitted in the last 5 minutes.
--
kuslusr1


"krissco" wrote:

On Aug 15, 9:00 am, Robbie wrote:
I have a report called "PICK TICKET" that I would like to setup to run every
10 minutes and print if data=True. Can this be done, please advise.
--
kuslusr1


Use a form and OnTimer event. Keep the form hidden.

In the OnTimer, perform the steps needed to evaluate your condition
(data=True). If another user is going to be on the workstation that
your form is running on, make sure and use lots of DoEvents statements
(otherwise they may wonder why their computer locks up every 10
minutes).

If data=true then
docmd.openreport "Pick ticket"
end if


-Kris


  #4  
Old August 16th, 2007, 04:21 PM posted to microsoft.public.access.reports
krissco
external usenet poster
 
Posts: 167
Default Auto run/print report

On Aug 15, 10:14 am, Robbie wrote:
thanks for the quick response, a bit more information. The database will run
continuously on a computer that will run 24/7. Only the report designer will
see the report and have the ability alter or manually run the report. We are
hoping to have the report auto generate pick tickets to our warehouse every 5
minute for item submitted in the last 5 minutes.
--
kuslusr1


In that case, forget the DoEvents.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 10:04 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.