This is a multi-part message in MIME format.

------=_NextPart_000_0165_01C36010.CBCCDD90
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

How does one loop through the contents of a form complicated by dynamic
construction of checkboxes which are assigned a 'model' and 'listingID' =
to
the NAME field on the fly in this syntax: Hunter_69. Here is what the =
form
looks like. I have the difficulty of inserting the multiple items =
selected
by the user the first time he visits and uses the screen and then using =
an
UPDATE when he visits later.

Model | Original Price | Reduced Price | Watch Item
F Pajot | 452000 |30000 |[Tick ]
Lagoon | 60000 |38000 |[ ]
Hunter | 552000 |350000 |[ ]
SUBMIT


<FORM action=3D"formhandler_databaseinsert.asp">

<INPUT type=3D"checkbox" id=3Dcheckbox1 =
name=3D<%=3Dmodel%>_<%=3DListingsID%>>
</form>


...However, I am not sure how to do a multiple update when iterating =
through
the form collection as I don't know in advance what the NAME field would =
be
as it is based on the concantenation of the 'Model' and the 'ListingID' =
eg:
FoutainPajot_33.

How does on tackle mutiple inserts or update when you have to loop =
through a
form with DYNAMIC names for the eg: Checkbox field?

Many thanks
jason





------=_NextPart_000_0165_01C36010.CBCCDD90
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2></FONT><FONT face=3DArial =
size=3D2><FONT=20
face=3D"Times New Roman" size=3D3>How does one loop through the contents =
of a form=20
complicated by dynamic<BR>construction of checkboxes which are assigned =
a=20
'model' and 'listingID' to<BR>the NAME field on the fly in this syntax:=20
Hunter_69. Here is what the form<BR>looks like.&nbsp; I have the =
difficulty of=20
inserting the multiple items selected<BR>by the user the first time he =
visits=20
and uses the screen and then using an<BR>UPDATE when he visits=20
later.<BR><BR>Model | Original Price |&nbsp;Reduced Price |&nbsp;Watch=20
Item</FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><FONT face=3D"Times New Roman" =
size=3D3>F=20
Pajot&nbsp;&nbsp;| =
452000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
|30000 &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; =
|[Tick=20
]<BR>Lagoon&nbsp;|&nbsp;60000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;=20
&nbsp;|38000 &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |[ &nbsp;]</FONT></FONT></DIV>
<DIV>Hunter &nbsp;| =
552000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
|350000 &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |[=20
&nbsp;]</DIV>
<DIV><FONT face=3DArial size=3D2><FONT face=3D"Times New Roman"=20
size=3D3>SUBMIT</FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><FONT face=3D"Times New Roman"=20
size=3D3></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><FONT face=3D"Times New Roman" =
size=3D3><FONT=20
face=3DArial size=3D2></FONT></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><FONT face=3D"Times New Roman" =
size=3D3><FONT=20
face=3DArial size=3D2>&lt;FORM=20
action=3D"formhandler_databaseinsert.asp"&gt;</FONT></FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><FONT face=3D"Times New Roman" =
size=3D3><FONT=20
face=3DArial size=3D2></FONT></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><FONT face=3D"Times New Roman" =
size=3D3><FONT=20
face=3DArial size=3D2>&lt;INPUT type=3D"checkbox" id=3Dcheckbox1=20
name=3D&lt;%=3Dmodel%&gt;_&lt;%=3DListingsID%&gt;&gt;</FONT></FONT></FONT=
></DIV>
<DIV><FONT face=3DArial size=3D2><FONT face=3D"Times New Roman" =
size=3D3><FONT=20
face=3DArial size=3D2>&lt;/form&gt;</FONT></DIV>
<DIV><BR><BR>...However, I am not sure how to do a multiple update when=20
iterating through<BR>the form collection as I don't know in advance what =
the=20
NAME field would be<BR>as it is based on the concantenation of the =
'Model' and=20
the 'ListingID' eg:<BR>FoutainPajot_33.<BR><BR>How does on tackle =
mutiple=20
inserts or update when you have to loop through a<BR>form with DYNAMIC =
names for=20
the eg: Checkbox field?<BR><BR>Many=20
thanks<BR>jason</FONT><BR><BR><BR><BR></DIV></FONT></BODY></HTML>

------=_NextPart_000_0165_01C36010.CBCCDD90--