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 / March 2007

Tip: Looking for answers? Try searching our database.

RunCommand question

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Lisa - 21 Feb 2007 22:20 GMT
This is probably really basic, but in my macro is it necessary to have
OpenQuery before I tell it to RunCommand/Run ?  I'm trying to set a macro to
run my make-table query, but if I can avoid having to open the query itself
first I can save about 15 minutes.  Am I even using the correct set of
actions?  Help!
Eric Blitzer - 22 Feb 2007 16:06 GMT
the OpenQuery action in a macro is running or designing.
Make sure the view is set to Datasheet.

> This is probably really basic, but in my macro is it necessary to have
> OpenQuery before I tell it to RunCommand/Run ?  I'm trying to set a macro to
> run my make-table query, but if I can avoid having to open the query itself
> first I can save about 15 minutes.  Am I even using the correct set of
> actions?  Help!
Steve Schapel - 27 Mar 2007 07:52 GMT
Lisa,

If it's a Make-Table Query, you can't "open" it.  Using an OpenQuery
macro action for an Action Query such as Make-Table will cause it to Run.

As for the comment about 15 minutes, well, that's a mighty big query!  I
would guess there might be ways to make it more efficient.

Signature

Steve Schapel, Microsoft Access MVP

> This is probably really basic, but in my macro is it necessary to have
> OpenQuery before I tell it to RunCommand/Run ?  I'm trying to set a macro to
> run my make-table query, but if I can avoid having to open the query itself
> first I can save about 15 minutes.  Am I even using the correct set of
> actions?  Help!
 
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.