Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Ken Ken is offline
external usenet poster
 
Posts: 590
Default Running speed of Micrsoft Query with Multiple parameters

Hi!,

I created a query with eight parameters. When refreshed, the query will
obtain the eight parameter values from 8 different linking cells in a
worksheet.

If I enter a parameter value and leave the rest of 7 cells blank, the
running speed is still about the same (as slow) as the case with 8 parameters
entered. Normally, a query with only one parameter is very fast.

I also have a query with about 50 parameters. It takes a very very long
time to run the query, even though only one parameter was entered.

With the option to enter from 1 to 8 paramaters, I am wondering if there is
any way to make the query run faster when less parameters are entered.

Thank you very much!

Ken

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,173
Default Running speed of Micrsoft Query with Multiple parameters

Ken

Not really as you are using MSQuery and ODBC so I suspect it is passing all
parameters, despite the fact you have only one with a value (The others will
be passing null to the parameter collection.

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
DTHIS
www.nickhodge.co.uk


"Ken" wrote in message
...
Hi!,

I created a query with eight parameters. When refreshed, the query will
obtain the eight parameter values from 8 different linking cells in a
worksheet.

If I enter a parameter value and leave the rest of 7 cells blank, the
running speed is still about the same (as slow) as the case with 8
parameters
entered. Normally, a query with only one parameter is very fast.

I also have a query with about 50 parameters. It takes a very very long
time to run the query, even though only one parameter was entered.

With the option to enter from 1 to 8 paramaters, I am wondering if there
is
any way to make the query run faster when less parameters are entered.

Thank you very much!

Ken


Reply
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
Multiple parameters in MS Query Ken Excel Discussion (Misc queries) 1 August 19th 06 01:48 PM
Cannot get Wildcards in Parameters to work in MS Query/Excel2003 Jan K Excel Discussion (Misc queries) 3 February 17th 06 06:00 PM
Query Parameters Texas_Toast Excel Discussion (Misc queries) 0 January 11th 06 03:14 PM
Running XY chart labeller using a macro's parameters and arguments. Hari Prasadh Charts and Charting in Excel 1 July 12th 05 05:00 PM
Help : Using Parameters with External Date Query Bdavis Excel Discussion (Misc queries) 0 March 31st 05 05:03 PM


All times are GMT +1. The time now is 12:06 AM.

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

About Us

"It's about Microsoft Excel"