Forums
This topic is locked
Checkbox and Access DB
12 Mar 2002 16:04:06 Phuc Ngo posted:
Hello All,I have a form and one of the question uses checkbox. The user can check multiple boxes. After the user finished, the form is then sent to a Access DB. Part of the checkbox code from the form is below.
<tr>
<td height="29"><font size="2" face="Arial, Helvetica, sans-serif">
<input type="checkbox" name="typeof" value="Disadvantaged">Disadvantaged<br>
<input type="checkbox" name="typeof" value="Section_8(a)">Section 8(a)<br>
<input type="checkbox" name="typeof" value="Womenowned">Womenowned<br>
<input type="checkbox" name="typeof" value="Veteran-owned">Veteran-owned</font>
<td>
</tr>
My problem is that I keep getting this error msg.
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Microsoft Access Driver] Duplicate output destination 'typeof'.
/scitech/database/register.asp, line 90
What does duplicate output destination 'typeof' mean and how do I fix it.
Thanks very much!
-Dave
Replies
Replied 12 Mar 2002 18:38:46
12 Mar 2002 18:38:46 Joel Martinez replied:
the answer to this lies in your method of inserting into the database... are you using a command? did you write your own code?
if you must, do some tests by pointing the registration form to a test page and writing out the value to see exactly what you're working with<pre id=code><font face=courier size=2 id=code>Request("typeof"</font id=code></pre id=code>
Joel Martinez
MX inSite Magazine
The Complete Resource for Macromedia designers & developers
Sign up for your free electronic Preview Issue
www.mxinsite.com
if you must, do some tests by pointing the registration form to a test page and writing out the value to see exactly what you're working with<pre id=code><font face=courier size=2 id=code>Request("typeof"</font id=code></pre id=code>
Joel Martinez
MX inSite Magazine
The Complete Resource for Macromedia designers & developers
Sign up for your free electronic Preview Issue
www.mxinsite.com