Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL--> get from XXX where

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
How can I get data from an access DB depending on what was selected in a SELECT tag on the page before.


I know you kan write somthing like

get * from XXX where = (a name of a form object ex. a hidden field)

but as the <select> tag doesn't have a name.... pleace help me...

Best R Erik
 
<select> tag does take name:

<select name=&quot;some_name&quot;>
<option value=&quot;some_value&quot;>Something
......................
<option value=&quot;someother_value&quot;>Something Else
</select>

And you can use values of the option elements in your script:

dim var

var = request.form(&quot;some_name&quot;)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top