Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Reports / Printing / January 2007

Tip: Looking for answers? Try searching our database.

timer

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
85ascMcLaren - 25 Jan 2007 17:03 GMT
I have a report that tries to read from a temp table that I create right
before I call the open report command.  Problem is - the report generates a
2580 'record source not available' error because I believe that report is
trying to open too fast.  The table probably is not built and closed before
the report is trying to open.  I can prove this by waiting for a second once
I press the debug key, then pressing F8 or F5 for the program to continue.  
Then the report comes up fine.  How can I put a pause or timer for a couple
of seconds before I call the openreport command?  I do not know how to use a
timer control in access visual basic or if one exists in Access 2003 vba....

  Thanks,
     Jason
Klatuu - 25 Jan 2007 20:04 GMT
Rather than using the timer event, copy the code at this site and use it to
delay your code for a second or two:

http://www.mvps.org/access/api/api0021.htm
Signature

Dave Hargis, Microsoft Access MVP

> I have a report that tries to read from a temp table that I create right
> before I call the open report command.  Problem is - the report generates a
[quoted text clipped - 8 lines]
>    Thanks,
>       Jason
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.