Results 1 to 3 of 3
  1. #1
    data808 is offline Noob
    Windows XP Access 2010 32bit
    Join Date
    Aug 2012
    Posts
    727

    Can't type the character "&" in a Label on a Form


    Can anyone tell me how to type the character "&" in a label without getting the error icon and then the "&" just disappears?

  2. #2
    libraccess's Avatar
    libraccess is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Mar 2012
    Location
    Napier New Zealand
    Posts
    129
    Try Using eg label name Customers & Other Rejects
    try Customers && Other Rejects
    labels OK dont use it in a field
    somewhere in MS Support you will find info on this

  3. #3
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,926
    The & is a special character. In a label or in a button caption it designates the character that follows as a shortcut key (will show an underscore). Type Alt+character to execute button Click event.

    If you want the literal character & to display must double it.

    Don't know why MS didn't fix it so labels don't treat the & as a special character.
    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.

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

Similar Threads

  1. Replies: 6
    Last Post: 06-07-2013, 09:45 AM
  2. Replies: 3
    Last Post: 05-31-2013, 04:32 PM
  3. Replies: 1
    Last Post: 10-08-2012, 09:01 AM
  4. search for "*" character
    By supernova122 in forum Access
    Replies: 2
    Last Post: 07-06-2009, 06:16 AM
  5. aSTR = Dir("C:\*.*") >> "Type Mismatch"
    By JGrant in forum Programming
    Replies: 1
    Last Post: 03-28-2009, 05:17 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