when you are pulling out the data from the database, (all the stuff for the drop down) flag the one that the user stored (I use two record sets) and when that one comes up I write out an if statement that sets the html to selected. I have sample code if you need it.
Regards, Travis D. Falls Software Engineer The Hartford (CASD) 860.547.4070 [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> http://www.thehartford.com -----Original Message----- From: Ricki Williams [mailto:[EMAIL PROTECTED]] Sent: Sunday, August 11, 2002 3:21 AM To: ActiveServerPages Subject: preselect dropdown How can I set the initially selected value in a drop down box to a value from my recordset like I can for a text box? I can't seem to figure this one out. ricki --- You are currently subscribed to activeserverpages as: [EMAIL PROTECTED] To unsubscribe send a blank email to %%email.unsub%% This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return email and delete this communication and destroy all copies. --- You are currently subscribed to activeserverpages as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED]
