Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 19
Default listbox in excel that is an option for sql query

I have a set of data that looks like this

STATE CITY
OR Portland
OR Beaverton
WA Seattle
WA Olympia
WA Spokane
CA Los Angeles
CA San Diego
CA San Jose

What I would like to be able to do is have 3 list boxes, the first one
would contain the State abbreviation, OR,WA,CA
which I can multiselect and then the 2nd listbox would populate with
all the city's that belong to the states chosen. These two would be
in a where clause of an sql statement that I would query a database to
return data that populates the 3rd listbox. How would I go about
doing this?

Thanks
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
Can rights to run but not create a query in excel an option? RyanS Excel Discussion (Misc queries) 0 August 15th 07 02:02 PM
where is the create OLAP cube option from microsoft query? Nick Kilpasis Excel Discussion (Misc queries) 0 May 17th 07 01:00 PM
Using a ListBox selection to query a database CLamar Excel Discussion (Misc queries) 1 June 1st 06 07:32 PM
Uisng an option group query mohd21uk via OfficeKB.com New Users to Excel 0 May 26th 06 12:34 PM
Listbox Query Again Greg B Excel Discussion (Misc queries) 1 September 16th 05 05:01 PM


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