I am not sure if I understand 100% but you will not be able to submit a
query to the database on the same form as a select box.
There are two ways, though, that you can handle what (I believe) you are
trying to attempt:
1. On change of the select form you can simply re-load the same form with
the next item selected. You can go to
http://www.hemmings.com/classifieds/generic/step1.cfm?ad=1 to see one that I
did.
2. You can create a JS file and use JavaScript to create an array of values
to display based on the select item chosen.
Good Luck.
- BILL -
-----Original Message-----
From: David Clay [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 05, 2001 4:30 PM
To: CF-Talk
Subject: SELECT
Does anyone have code to set a variable once a select box option has been
selected to use within a query in the same form.
Thank you for your time.
Dave Clay
Internet Facilitator
Trus Joist, A Weyerhaeuser Business
5995 Greenwood Plaza Blvd, Suite 100
Greenwood Village, CO 80111
303.770.8506
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists