Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

"&" shows as "_" in labelfield 2

Status
Not open for further replies.

flaviooooo

Programmer
Feb 24, 2003
496
FR
Hi,

this is a very strange thing, and hard to search for in the forums :)

When I create a label that contains an ampersand (&) in it, it shows it as an underscore (_)

I now have a title that shoudl say "Users & Roles", but it says "Users _Roles"

Any idea on what could be the cause of this?
I'm using Access 2002

Thanks in advance!
 
Yes, it becomes a shortcut (Alt + <underlined letter> will fire the on click event of the control, or give the control a label is attached to, focus)

Double up the ampersands to display one "Users && Roles" ;-)

Roy-Vidar
 
Have you tried this ?
"Users && Roles"

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Wow superfast response from both of you!

It works now indeed

Thanks and I'll award both with a star!
 
An easy way also, is to change to a different font.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top