LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default execute a make table query in an access database

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

"Question Boy" wrote:

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 pictu
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

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Use Excel to make an update query to another database table? Reigning in Seattle Excel Discussion (Misc queries) 2 April 14th 05 06:25 PM
Help with Access Database Query!! Vince Excel Programming 7 March 16th 05 04:27 PM
How to use a Access Query that as a parameter into Excel database query Karen Middleton Excel Discussion (Misc queries) 1 December 13th 04 07:54 PM
Excel VBA Query Using Access Database Hangs on 2nd Execute Mike Knight Excel Programming 7 November 4th 04 05:12 PM
Copy recordset from an Access "make table" query Laurie[_4_] Excel Programming 1 February 5th 04 09:45 AM


All times are GMT +1. The time now is 09:49 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"