Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
GregCrossan
 
Posts: n/a
Default parameter query - multiple options

I have a parametery query setup in excel which gets its input from a cell,
which does this..

Status In [EnterStatus]

[EnterStatus] query is in a cell

It works fine if I only enter one value in the cell

but if I enter A,I,X (Active, Inactive, Expelled) for example i receive
a string truncation error...

if there were only two or 3 options I coult use 2 or 3 fields, but ehre are
10 possibles...

any ideas how I can ask for multiple options..

the sql query would be Select * fom table where status in ('A','I','X')...

aNY IDEAS
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
Linking parameter query from Access to pivot table in Excel ken1975 Excel Discussion (Misc queries) 2 June 20th 06 01:51 PM
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
Parameter Query-enter just once for use in multiple places jrenzul Excel Discussion (Misc queries) 1 April 15th 05 11:08 PM
Double-Clicking a cell for Multiple Options andym Excel Discussion (Misc queries) 1 February 24th 05 10:46 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 08:54 PM


All times are GMT +1. The time now is 12:54 PM.

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"