----- Original Message -----
From: "Ray at home" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, February 10, 2005 7:14 PM
Subject: RE: [ASP] Odd Checkbox Behavior
>
> Can you show us the HTML from the checkbox area of the page and the code
> that you're using?
Here's a sample of the HTML that is generated on the table:
<form method="POST" action="/reports/HTECad/Default.asp">
<input type="hidden" name="FORMTYPE" value="EDIT">
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse:
collapse; font-family: Arial; font-size: 10pt" bordercolor="#111111">
<tr>
<th bgcolor="#C0C0C0" nowrap> </th>
<th bgcolor="#C0C0C0" nowrap> OPS </th>
<th bgcolor="#C0C0C0" nowrap>OCA</th>
<th bgcolor="#C0C0C0" nowrap>DEPTCLASS</th>
<th bgcolor="#C0C0C0" nowrap>TIME</th>
<th bgcolor="#C0C0C0" nowrap>LOCATION</th>
<th bgcolor="#C0C0C0" nowrap>EMP</th>
<th bgcolor="#C0C0C0" nowrap>DISP</th>
<th bgcolor="#C0C0C0" nowrap>ZONE</th>
<th bgcolor="#C0C0C0" nowrap>MORE INFO</th>
</tr>
<tr >
<td align="center" nowrap> <input type="checkbox" name="SELECTED"
value="105002879"> </td>
<td align="center"> </td>
<td align="center" nowrap> <a
href="/reports/HTECad/Default.asp?INCKEY=105002879">05-002708</a> </td>
<td align="center" nowrap > VEHICLE STOP </td>
<td align="center" nowrap> 00:13 </td>
<td align="center" nowrap > US 70 HWY W<BR> @ YEARGAN RD</TD>
<td align="center" nowrap > 1441 </td>
<td align="center" nowrap > H </td>
<td align="center" nowrap > 8315 </td>
<td align="center" nowrap>[<a
href="/intranet/webforms/cadinfo/detail.asp?INCKEY=105002879">DETAIL</a>]
[<a href="/intranet/web400/report.asp?YR=5&POLI=2708">REPORT</a>] [<a
href="/intranet/webforms/cadinfo/cadRecordAll.asp?INCKEY=105002879">ALL</a>]</td>
</tr>
<tr bgcolor='#C0C0C0'>
<td align="center" nowrap> <input type="checkbox" name="SELECTED"
value="105002880"> </td>
<td align="center"> </td>
<td align="center" nowrap> <a
href="/reports/HTECad/Default.asp?INCKEY=105002880">05-002709</a> </td>
<td align="center" nowrap > SERVED PROCESS </td>
<td align="center" nowrap> 00:26 </td>
<td align="center" nowrap > <BR>120 AVERY ST</TD>
<td align="center" nowrap > 1260 </td>
<td align="center" nowrap > E </td>
<td align="center" nowrap > 8333 </td>
<td align="center" nowrap>[<a
href="/intranet/webforms/cadinfo/detail.asp?INCKEY=105002880">DETAIL</a>]
[<a href="/intranet/web400/report.asp?YR=5&POLI=2709">REPORT</a>] [<a
href="/intranet/webforms/cadinfo/cadRecordAll.asp?INCKEY=105002880">ALL</a>]</td>
</tr>
</table>
<p align="left">
<input type="submit" value="ACCEPT" name="ACCEPT"><input type="reset"
value="Reset" name="B2"> <a target="_blank"
href="validate.asp">VALIDATE</a> </form>
The recipient page looked a little like this: (it's been revised already)
arrINCKEY = Split(Trim(request.form("INCKEY")
For i = 0 to uBound(arrINCKEY)
lngINCKEY = arrINCKEY(i)
strSQL = "Select from events where INCKEY = " & lngINCKEY & ";"
rs.Open strSQL, dbConn
process code here
rs.Close
next
----------
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.7 - Release Date: 2/10/2005
[Non-text portions of this message have been removed]
---------------------------------------------------------------------
Home : http://groups.yahoo.com/group/active-server-pages
---------------------------------------------------------------------
Post : [email protected]
Subscribe : [EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
---------------------------------------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/active-server-pages/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/