Hey jarvelous, welcome to the DeveloperBarn forums! To create a dynamic drop down menu, you first need to create a recordset to your DB. You can do this like so:
Code:
strSQL = "SELECT MemberID, MemberName FROM members ORDER BY MemberName"
Set objRS = siteConn.Execute(strSQL)
After you have created your recordset, you will want to loop through the recordset:
Code:
response.write "<select name=""Members"">" & vbCrLf
response.write "<option value="""">Select Member</option>"
Do While Not objRS.EOF
response.write "<option value=""" & objRS("MemberID") & """>" & objRS("MemberID") & "</option>" & vbCrLf
objRS.MoveNext
Loop
response.write "</select>" & vbCrLf
You will also want to make sure you close your connection after your are done. Do so like so:
Code:
objRS.Close
Set objRS = Nothing
Hope this helps. Let us know if you need any additional help.