Results 1 to 2 of 2

Thread: Adding to the database via code

  1. #1

    Thread Starter
    Lively Member brjames's Avatar
    Join Date
    Jan 2000
    Location
    Tenby, Wales, UK
    Posts
    121

    Smile

    I need to be able add a check to a check box in a database without using the data control.

    Anyone know how?

    Thanks in advance!

  2. #2
    Junior Member
    Join Date
    Jun 1999
    Location
    Karachi, Sind, Pakistan
    Posts
    20
    You can do it by assigning the values to the check box (0 for unchecked and 1 for checked)
    Like this.
    if rs("Active")=True then
    checkbox1.value=1
    else
    checkbox1.value=0
    end if

Posting Permissions

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



Click Here to Expand Forum to Full Width