|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Passing select list values to a db
Please help!
I am trying to pass a value from a select list to Access database using ASP. The value selected is not being recognized by the db. My first thought was that the select list was not passing the values> However, on the error page the data is presented in the POST Data section. Then, I thought I could pass the selected value to a text box in the same form and submit it to the db. Now, I am thinking I could pass the selected value to hidden field. I will also add that I don't know how to do any of them. Can some please show me the best method to take? Code ________________________________________________ <form method="POST" action="<%=MM_editAction%>" name="Purchaser"> <select name="SelectList"> <option value="A">A</option> <option value="B">B</option> <option value="C">C</option> <option value="D">D</option> </select> <input name="Submit" type="submit" value="Continue"> <input type="hidden" name="AutoNumber" value="<%= Session("AutoNumber") %>"> <input type="hidden" name="SelectList"> <input type="hidden" name="MM_insert" value="Purchaser"> </form> __________________________________________________ _ |
|
#2
|
|||
|
|||
|
I figured this out.
|
![]() |
| Viewing: ASP Free Forums > Database > Microsoft Access Help > Passing select list values to a db |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|