Ho risolto alcuni problemi con i checkbox, ma se ne presentano altri.
Ricavo i valori di spunta dal DB, ne vario alcuni, faccio Update al DB ma mi scrive quelli nuovi e cancella quelli che erano già scritti.
Codice :
da DB
txt_art1 =rs_new_user("art1")
txt_art2 =rs_new_user("art2")
txt_art3 =rs_new_user("art3")
<input type="checkbox" name="txt_art1" id='game1' value="10" onclick="Costo(this.form)"
<% If txt_art1= "Sì" or txt_art1= "ok" Then %> checked disabled="disabled" <% end if %> >Art 1
</td>
<td width="13%"><font size="2"><input type="checkbox" name="txt_art2" id='game2' value="10" onclick="Costo(this.form)"
<% If txt_art2= "Sì" or txt_art2= "ok" Then %> checked disabled="disabled" <% end if %> >Art 2></TD>
<td width="13%"><font size="2"><input type="checkbox" name="txt_art3" id='game3' value="7" onclick="Costo(this.form)"
<% If txt_art3= "Sì" or txt_art3= "ok" Then %> checked disabled="disabled" <% end if %> >Art 3
</TD>
se l'articolo 2 è già selezionato nel DB lo visualizza correttamente cioè : spuntato e non più selezionabile.
Se spunto l'articolo 1 in fase di Update al DB mi cancella articolo 2. Dopo varie prove chedo un aiuto. DB è in access, la pagina asp.
Grazie

