LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.misc
Marcus Langell
 
Posts: n/a
Default Microsoft Query parameter - "is one of"

OK, thanks!
That brings up another question though; is it possible to programmatically
set the parameter ranges for a query?

/Marcus

"Gary Brown" wrote:


When you use parameter queries in MS Query, it treats the value in the
parameter as a single text string, therefore if you have a condition of
In([Parameter1]), if you enter a value of A,B,C or 'A','B','C' it tries
to retrieve records which equal A,B,C or 'A','B','C' and not as you
want.

The only thing I can suggest is setup multiple parameters and use OR
to relate them to each other, and then use a combo box, to select the
options, have a formula which extracts each option into individual
cells. When these cell values change, get the query to run by selecting
option 3 on the parameter icon within excel.

This probably wasn't what you wanted to hear, but having used MSQuery
and parameters a lot, this is the only solution I have found to date.


--
Gary Brown
------------------------------------------------------------------------
Gary Brown's Profile: http://www.excelforum.com/member.php...o&userid=17084
View this thread: http://www.excelforum.com/showthread...hreadid=535886


 
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
Get External Data - not editable using Query Wizard MargaretBeckbury Excel Discussion (Misc queries) 7 January 17th 06 09:13 AM
How do i enable the Query Parameter menu option on the External D. Saleha Excel Discussion (Misc queries) 0 August 23rd 05 09:28 AM
Microsoft Query Excel GuRu Excel Discussion (Misc queries) 4 January 19th 05 07:07 PM
Can I download Microsoft Query? Missing software for my Version. Tracie Excel Discussion (Misc queries) 1 January 9th 05 04:11 PM
Microsoft Query Help Patti Excel Worksheet Functions 4 December 25th 04 09:54 AM


All times are GMT +1. The time now is 09:06 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"