Results 1 to 2 of 2
  1. #1
    accesssux is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Aug 2011
    Location
    East Coast
    Posts
    4

    Angry Edit Access Query YES/NO field check boxes in 2010... get rid of -1's and 0's!

    Hi, I'm an access layperson. I took a semester long course during college on access and am stuck working for a small business making the database. Please, try not to type any jibberish to me in respons to my question that has things like { \ [d[]][~ since I will not understand unless you write it out in a very simple manner.

    So, in 2007 I could make editable queries with yes/no check boxes. Now when I try to do them... they give me NEGATIVE ONES AND ZEROS.. Why couldn't they just be ones and zeros?!?! why negative ones?!?!?! How do I stop this from happening!??!?! Please, help me!

  2. #2
    TheShabz is offline Court Jester
    Windows XP Access 2003
    Join Date
    Feb 2010
    Posts
    1,368
    a Yes/No box is a True/False Boolean indicator. In Access, -1 represents True and 0 Represents False. It is the same with many other database systems.

    Checked Box = True = -1
    Unchecked Box = False = 0

    So in your table, you would see a checkbox. However, in a query you would use either True and False or -1 and 0

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 2
    Last Post: 05-29-2014, 09:58 PM
  2. How to Query fields with check boxes?
    By JynxRD in forum Queries
    Replies: 2
    Last Post: 09-10-2010, 08:35 PM
  3. Yes/No check boxes
    By Desstro in forum Forms
    Replies: 2
    Last Post: 05-03-2010, 04:26 AM
  4. To check or Un-Check all Boxes in a form
    By devcon in forum Forms
    Replies: 7
    Last Post: 05-01-2010, 12:03 AM
  5. How to disable edit for combo boxes
    By access in forum Forms
    Replies: 3
    Last Post: 06-17-2009, 09:11 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums