I'm trying to take values from combo boxes and radio buttons on a single web form and pass them to my db.
Combos are set up thusly:
<select name="selectOptions1">
<option value="1">Option1</option>
<option value="2">Option2</option>
<option value="3">Option3</option>
<option value="4">OptionEtc</option>
</select>
Radios are setup thusly:
<div align="center">
<input type="radio" name="RadioSet1" value="1">
<input type="radio" name="RadioSet1" value="2">
<input type="radio" name="RadioSet1" value="3">
</div>
SQL looks like this:
cmdSQLinsert = "insert into tblInput (selectOptions1,_ RadioSet1) values ('" & Field1ID & "', '" & Field2ID & "' )"
etc.
I know the db connection is okay because my db is updating the RecordID which is an Access autonumber. The form values are not being passed though. I just get a table full of autonumbers.
Any suggestions?
Thanks in advance.
Combos are set up thusly:
<select name="selectOptions1">
<option value="1">Option1</option>
<option value="2">Option2</option>
<option value="3">Option3</option>
<option value="4">OptionEtc</option>
</select>
Radios are setup thusly:
<div align="center">
<input type="radio" name="RadioSet1" value="1">
<input type="radio" name="RadioSet1" value="2">
<input type="radio" name="RadioSet1" value="3">
</div>
SQL looks like this:
cmdSQLinsert = "insert into tblInput (selectOptions1,_ RadioSet1) values ('" & Field1ID & "', '" & Field2ID & "' )"
etc.
I know the db connection is okay because my db is updating the RecordID which is an Access autonumber. The form values are not being passed though. I just get a table full of autonumbers.
Any suggestions?
Thanks in advance.