PC Review


Reply
Thread Tools Rate Thread

Acess Queries, Parameters and VBA Problem

 
 
Goofy
Guest
Posts: n/a
 
      11th Oct 2006
Here is my problem.

I am trying to query a query held in Access 2003 from Microsoft Excel. I
have done this successfully using VBA. The problem is that I dont want the
access query to contain ALL the data so I need to use criteria ( Where
Clause ). This is ok except for the fact that the ODBC Driver returns an
error telling me it requires a number of parameters.

Any ideas on how to get around this


 
Reply With Quote
 
 
 
 
Brendan Reynolds
Guest
Posts: n/a
 
      11th Oct 2006
Answered in another thread in this newsgroup. (Subject 'Getting Access Query
Data Into Excel Using VBA').

--
Brendan Reynolds
Access MVP


"Goofy" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Here is my problem.
>
> I am trying to query a query held in Access 2003 from Microsoft Excel. I
> have done this successfully using VBA. The problem is that I dont want the
> access query to contain ALL the data so I need to use criteria ( Where
> Clause ). This is ok except for the fact that the ODBC Driver returns an
> error telling me it requires a number of parameters.
>
> Any ideas on how to get around this
>



 
Reply With Quote
 
NickHK
Guest
Posts: n/a
 
      11th Oct 2006
How are you currently returning the data to Excel ?

NickHK

"Goofy" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Here is my problem.
>
> I am trying to query a query held in Access 2003 from Microsoft Excel. I
> have done this successfully using VBA. The problem is that I dont want the
> access query to contain ALL the data so I need to use criteria ( Where
> Clause ). This is ok except for the fact that the ODBC Driver returns an
> error telling me it requires a number of parameters.
>
> Any ideas on how to get around this
>
>



 
Reply With Quote
 
Ron de Bruin
Guest
Posts: n/a
 
      11th Oct 2006
Maybe ?
http://www.rondebruin.nl/accessexcel.htm


--
Regards Ron de Bruin
http://www.rondebruin.nl



"Goofy" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
> Here is my problem.
>
> I am trying to query a query held in Access 2003 from Microsoft Excel. I have done this successfully using VBA. The problem is
> that I dont want the access query to contain ALL the data so I need to use criteria ( Where Clause ). This is ok except for the
> fact that the ODBC Driver returns an error telling me it requires a number of parameters.
>
> Any ideas on how to get around this
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Parameters In External ODBC Data Queries and Userform Bodo Microsoft Excel Programming 2 20th May 2009 11:11 AM
Acess Queries, Parameters and VBA Problem Goofy Microsoft Excel Programming 3 11th Oct 2006 03:16 PM
Re: Queries and Parameters Zachary Turner Microsoft Access 1 15th Sep 2004 10:27 PM
Queries and Parameters Zachary Turner Microsoft Access 1 15th Sep 2004 03:39 AM
Problem using parameters in crosstab queries Tim Bocek Microsoft Access 4 24th Jul 2004 12:07 PM


Features
 

Advertising
 

Newsgroups
 


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