Hi, All.
I am stuck on this last piece of the code. Any help is appreciated!
I have a Response.Write statement
Response.Write _
"<input type=""checkbox"" name=""PC"" value=""blah"" If rsEqip(""PC"") = ""blah"" Then Response.Write ""Checked"" End If>blah" & _
.
.
.
The problem is, all the checkboxes are returned as CHECKED.
So my question is, how to make my IF statement work in the "<input type>" statement? Right now, it is obviously reading the "Checked" part, but how to make it to execute the IF statement??? If I don't use that <input type> statement in Response.Write, it works fine.
Thanks!!!
I am stuck on this last piece of the code. Any help is appreciated!
I have a Response.Write statement
Response.Write _
"<input type=""checkbox"" name=""PC"" value=""blah"" If rsEqip(""PC"") = ""blah"" Then Response.Write ""Checked"" End If>blah" & _
.
.
.
The problem is, all the checkboxes are returned as CHECKED.
So my question is, how to make my IF statement work in the "<input type>" statement? Right now, it is obviously reading the "Checked" part, but how to make it to execute the IF statement??? If I don't use that <input type> statement in Response.Write, it works fine.
Thanks!!!