Results 1 to 3 of 3
  1. #1
    CementCarver's Avatar
    CementCarver is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2013
    Location
    Canada
    Posts
    231

    Check Box Values

    After doing some research on using check boxes, I found that the check box valued actually has three values: -1(Yes), 0(No) and Blue (Undetermined).

    So if my client accidentally selects the check box, but then changes their mind, there's no way of putting the value back to being undetermined. After it's been selected once, it can only then be -1 or 0.



    Is there any way of setting it back to being undetermined?

    CementCarver

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,602
    Sounds like triple state property. I've never used this. I avoid yes/no fields for user data entry. Review http://office.microsoft.com/en-us/ac...001232798.aspx
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    rzw0wr is offline I will always be a newbie
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2013
    Location
    Indiana
    Posts
    479
    Usually when using a check box, the box is set to a default in the table.
    I would want the data to be something I could control. Either on or off, Yes or No, True or False.

    Null or Undetermined does not tell me anything.

    A side note here: As june7 stated check boxes can usually be replaced with the idea the "If data is present = Yes" Else NO" type of logic.


    Dale

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

Similar Threads

  1. Looping Through Controls to Check Values
    By mcktigger in forum Programming
    Replies: 3
    Last Post: 01-25-2013, 12:05 PM
  2. Replies: 3
    Last Post: 11-02-2012, 11:00 AM
  3. Replies: 3
    Last Post: 11-15-2011, 02:41 PM
  4. Dynamic Check Boxes values from table
    By ktmjamal in forum Forms
    Replies: 1
    Last Post: 02-21-2011, 07:49 AM
  5. Check Box Values in Queries
    By Rubz in forum Queries
    Replies: 3
    Last Post: 04-16-2010, 11:26 AM

Tags for this Thread

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