Hi,
I wrote a page that runs on a DB with the criteria below:
sql = "SELECT * FROM main WHERE (((main.fixed)=off));"
Set R = c.Execute(SQL)
Do until r.EOF %>
ID: <%Response.Write r("id"
%><BR>
Name: <%Response.Write r("name"
%><BR>
Phone: <%Response.Write r("phone"
%><BR>
Department: <%Response.Write r("dept"
%><BR>
PC manufacture: <%Response.Write r("manuf"
%><BR>
Software/ Hardware: <%Response.Write r("hardsoft"
%><BR>
OS: <%Response.Write r("os"
%><BR>
Description: <%Response.Write r("description"
%><BR>
Urgency: <%Response.Write r("urgency"
%><BR>
Date: <%Response.Write r("date"
%><BR>
<STRONG>Fixed ? </STRONG>
<INPUT type="checkbox" name="fixedyesno" value="fixed" ><BR>
<% r.MoveNext
loop
%>
When the user checks all or some of the checkboxes and press submit
I want the DB to get updated, my problem is how to update the relevant
record? (only the ones that been checked).
Thanks
Eyal [sig][/sig]
I wrote a page that runs on a DB with the criteria below:
sql = "SELECT * FROM main WHERE (((main.fixed)=off));"
Set R = c.Execute(SQL)
Do until r.EOF %>
ID: <%Response.Write r("id"

Name: <%Response.Write r("name"

Phone: <%Response.Write r("phone"

Department: <%Response.Write r("dept"

PC manufacture: <%Response.Write r("manuf"

Software/ Hardware: <%Response.Write r("hardsoft"

OS: <%Response.Write r("os"

Description: <%Response.Write r("description"

Urgency: <%Response.Write r("urgency"

Date: <%Response.Write r("date"

<STRONG>Fixed ? </STRONG>
<INPUT type="checkbox" name="fixedyesno" value="fixed" ><BR>
<% r.MoveNext
loop
%>
When the user checks all or some of the checkboxes and press submit
I want the DB to get updated, my problem is how to update the relevant
record? (only the ones that been checked).
Thanks
Eyal [sig][/sig]