Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / April 2008

Tip: Looking for answers? Try searching our database.

execute a make table query in an access database

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Question Boy - 18 Apr 2008 15:45 GMT
The basic idea:
I need to run an existing make table query in a database without the user's
intervention.  I have tried some code I have found online but none work (thus
far).

The complete picture:
Same as above, however, I would need to be able to pass along a user input.  
In this case am I better executing an SQL statement from Excel to Acces?  If
so, how?

Could someone point me in the right direction.  

Thank you,

QB
Question Boy - 18 Apr 2008 16:07 GMT
I found some code at http://www.mrexcel.com/archive2/51100/59373.htm

but now it is spitting out an error with regards to Nz() function!  The
query runs fine.  I know this for a fact.  I also know that Excel doesn't
handle Nz().  This said, the query does not have Nz() in it but does join to
another query that does use it.  That is why I couldn't use it in a standard
Data import and why I need to run the query through vba.  But it seems as
though excel will only run queries that it can handle through the Data wizard
which defies the purpose of running the query through vba.  I hope this made
some sense.

I must say it is increadibly difficult to transfer data between applications
when functionalities are not supported trhoughout the suite of office
applications, especially a commonly used function as Nz(). -- just my opinion.

QB

> The basic idea:
> I need to run an existing make table query in a database without the user's
[quoted text clipped - 11 lines]
>
> QB
 
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.