Results 1 to 2 of 2
  1. #1
    BonKeri is offline Novice
    Windows 7 32bit Access 2003
    Join Date
    Jun 2012
    Posts
    1

    Lightbulb Yes/No Problem !

    Hello,

    I have a problem with Yes/NO data type , I'm interested to make e column in yes/no data type and
    in format field properties i wrote ;"PO";"JO"


    and if I'am in datasheet view if i write Po and i want to see "PO" and if i write Jo i want to see "JO"
    I know i can do it with -1 and 0 , but im interested to write "Po" and "Jo" and want to see them PO and JO

    Can anybody help me please ?

  2. #2
    ssanfu is offline Master of Nothing
    Windows XP Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    You would have to change the field type to Text to have "PO" or "JO".

    The YES/NO data type can use -1/0, TRUE/FALSE or (sometimes) YES/NO. The TRUE/FALSE and YES/NO are constants in VBA to represent -1/0, which is why "PO/JO" won't work.
    Actually, FALSE is equal to Zero and TRUE is NOT Zero (any number other than Zero - doesn't matter if value is .01, -1, 1 or 2000).

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

Similar Threads

  1. Replies: 2
    Last Post: 06-14-2010, 03:25 PM
  2. query problem i have a problem wi
    By maxx3 in forum Queries
    Replies: 0
    Last Post: 06-29-2009, 02:29 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