check boxes

Results 1 to 2 of 2

Thread: check boxes

  1. #1
    Join Date
    Dec 1969

    Default check boxes

    is there a simplar way of retriving check box info from a database than way i currently do in my example below?<BR><BR> strHostEmailInclude = CLng(objDBRS("HostEmailInclude"))<BR> If CLng(objDBRS("HostEmailInclude")) = 0 Then<BR> strEmailChecked = " unchecked"<BR> strHostEmailInclude = "1"<BR> Else <BR> strEmailChecked = " checked"<BR> End If

  2. #2
    Join Date
    Dec 1969

    Default RE: check boxes

    Hmm not really, I guess you could try something like:<BR><BR>&#060;input type=checkbox &#060;%=Replace(objDBRS("HostEmailInclude"),"1","C hecked")%&#062; name="MyCheckBox"&#062;

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts