Results 1 to 3 of 3
  1. #1
    GraeagleBill's Avatar
    GraeagleBill is offline Experienced Old Geezer
    Windows 10 Access 2013 32bit
    Join Date
    Feb 2011
    Posts
    1,919

    Formatting Yes/No field


    If I add a Yes/No column thus:

    Code:
    "ALTER TABLE Groups ADD Column OfferAlt YESNO False"
    What do I need to do additionally so that when one opens the table for simple viewing the field appears as a "check-box"?

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    I don't think you can get there with DDL alone. See the last post here:

    http://www.utteraccess.com/forum/Add...-t1109178.html

    Of course the sentiment of "who cares what it looks like in the table" applies.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    GraeagleBill's Avatar
    GraeagleBill is offline Experienced Old Geezer
    Windows 10 Access 2013 32bit
    Join Date
    Feb 2011
    Posts
    1,919
    Hi Paul,
    I don't really care. I had my focus on consistency. I have existing code from times gone by where I used an exact statement format to add a Yes/No field to a table column and subsequent viewing of the table showed a check-box without any overt action on my part. The current case code-wise is no different but for some reason the table viewing is different.
    Moving on.............
    Thanks,
    Bill

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

Similar Threads

  1. Replies: 6
    Last Post: 10-02-2018, 09:57 AM
  2. Replies: 5
    Last Post: 05-22-2017, 01:34 PM
  3. Replies: 3
    Last Post: 04-18-2017, 07:45 AM
  4. Replies: 1
    Last Post: 01-05-2017, 05:14 PM
  5. Need Help Formatting a field.
    By marshallgrads in forum Access
    Replies: 4
    Last Post: 12-06-2007, 03:44 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