Only thing worse than my programming ability is the simple ability to ask the right question!!
Yesterday I got the code to display records from queries from a Access database - thanks!
Now I want to use a form to get a variable and pass that on to select the query to use.
The select code that worked:
strSQL = "SELECT * FROM Bandits order by [6/5/03];"
Now I want to replace Bandits with a variable I select from a dropdown list:
<FORM>
<SELECT NAME="Select1" SIZE="1">
<OPTION VALUE="bandit">Bandits</OPTION>
<OPTION VALUE="masters">Masters</OPTION>
<OPTION VALUE="Pro">Pro</OPTION>
</SELECT>
<INPUT TYPE="SUBMIT" NAME="Submit1" VALUE="Show Division"></FORM>
I don't understand how to get the variable and then get it in the select string...
Thanks in advance for the help!