Results 1 to 3 of 3
  1. #1
    Lisa Perry is offline Advanced Beginner
    Windows XP Access 2010 32bit
    Join Date
    Jun 2012
    Location
    New Hampshire
    Posts
    39

    Yes/No Check Box to display Yes or No

    Hello,



    I have a table in which I use a checkbox for one field that I use on a form. When I run a query on this data I get -1 for yes and 0 for No - is there a way to get this to display Yes or No (I don't want True of False either)...I even tried an update query and if did not seem to work...

    Thank you for any help.

    Lisa

  2. #2
    ketbdnetbp is offline Competent Performer
    Windows 7 32bit Access 2003
    Join Date
    Mar 2011
    Location
    Midwest
    Posts
    254
    Lisa -

    In your query, you could try using...

    YorN: IIF([Nameofcheckboxintable]= -1,"Yes","No")

    in a new column in the field row.

    See if that produces the desired results.

    All the best,

    Jim

  3. #3
    Lisa Perry is offline Advanced Beginner
    Windows XP Access 2010 32bit
    Join Date
    Jun 2012
    Location
    New Hampshire
    Posts
    39
    Thank you Jim, I honestly just thought of that myself and it worked...but I certainly appreciate your help!

    Lisa

    Quote Originally Posted by ketbdnetbp View Post
    Lisa -

    In your query, you could try using...

    YorN: IIF([Nameofcheckboxintable]= -1,"Yes","No")

    in a new column in the field row.

    See if that produces the desired results.

    All the best,

    Jim

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

Similar Threads

  1. Check For Duplicate Check Before Posting.
    By burrina in forum Queries
    Replies: 1
    Last Post: 01-22-2013, 01:39 PM
  2. Check if record exists, Check Number
    By burrina in forum Forms
    Replies: 9
    Last Post: 01-06-2013, 03:49 PM
  3. Replies: 1
    Last Post: 05-10-2012, 11:56 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. Replies: 0
    Last Post: 04-19-2008, 09:08 PM

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