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 / Macros / February 2004

Tip: Looking for answers? Try searching our database.

Multiple Macros within a Macro

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
tj - 25 Feb 2004 17:00 GMT
I have created a macro that runs 2 macros.
The first executes a batch files that takes 14 ASCII files
(with non-Access compatible extension), combines into one
file and renames the extension to .txt.
This takes several seconds.

The second SHOULD import the .txt file into a table.

The import does not happen.  I think the second macro is
attempting to run before the first has completed. No error
message or anything. The import macro runs perfectly if
you execute it independently.

Any ideas?
Steve Schapel - 25 Feb 2004 18:12 GMT
Tj,

The only way I know of around this is to use a SetValue action at the
end of the first macro, to set the TimerInterval propeerty of a form
which is open at the time you are running this procedure, to for example
5000 (i.e. 5 seconds), and then assign the second macro separately on
the On Timer event of the form.

Signature

Steve Schapel, Microsoft Access MVP

> I have created a macro that runs 2 macros.
> The first executes a batch files that takes 14 ASCII files
[quoted text clipped - 10 lines]
>
> Any ideas?
 
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.