Results 1 to 3 of 3

Thread: checkboxes

  1. #1
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Cornwall, England
    Posts
    393
    Thanks
    0
    Thanked 0 Times in 0 Posts

    checkboxes

    How do i use an update query to mark a yes/no field as ticked ?
    i am currently using :
    UPDATE MainData SET MainData.Ceased = yes WHERE (mainData.TelNo) = xyz
    i have also tried setting it to -1 and TRUE but no rows are ever updated.

  2. #2
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Cornwall, England
    Posts
    393
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: checkboxes

    How stupid can i be? The query is fine appart from me trying to compare a text field with a numeric value.[img]/w3timages/icons/clown.gif[/img]
    Please ignore the above question.
    The answer is to get more sleep i think !!![img]/w3timages/icons/nuts.gif[/img]

  3. #3
    Plutonium Lounger
    Join Date
    Dec 2000
    Location
    Sacramento, California, USA
    Posts
    16,775
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: checkboxes

    No, no. You aren't allowed to sleep in the Lounge!
    Charlotte

Posting Permissions

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