What I am trying to do is add or delete a record from a database depending on if a checkbox is checked/unchecked. In a nutshell...<BR><BR> iOffering = Request.Form("chkSelected")<BR><BR> If iOffering = 0 then delete the record<BR> If iOffering &#060;&#062; 0 then add the record<BR><BR>The problem is that when I access the page for the first time, iOffering will always be 0, thus deleting the record. How can I get around this so that only when the user clicks the submit button the iOffering variable is set?<BR><BR>Thanks