> I am not even sure if this is possible.  I want to have multiple pull down
> menu's on a single page.  The options of the second pull down menu
> will be based on the selection of the first pull down menu.

It's completely possible, the term that you're looking for is a
related select box.  Nate Weiss created an extremely popular custom
tag called "TwoSelectsRelated" which can be downloaded for free from
http://projects.nateweiss.com/nwdc/workcode.htm

(He also has a three-selects version and a related combo-box now)

The trick is to get your query correct.  The tag runs off a single
recordset that must contain all of the columns and be organized
correctly.

Given the queries you've included below it looks like you have one
table called classes with a term and sectiontitle column.  This is
actually perfect for the multi-select.  Your query will need to look
something like this:

SELECT Term, SectionTitle
FROM Classes
ORDER BY Term, SectionTitle

What I don't see in your table is any kind of numeric ID's.  If that's
the case then your display and value properties will be the same.
Otherwise you would want to include the ID's for the term and section
and use them for the values.

Good Luck!
Hatton

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:2754
Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15

Reply via email to