How can I get an ampersand to appear as text in a text box?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Ampersand in text box manipulates other text. I actually want the phrase
"MOT & E" to appear. I've tried parenthesis around the &. All I get is the
"E" underlined.

I've tried a back slash before it (Which, I think tells access that I want a
literal &). all I get is the backslash.

Any ideas?

Thanks
Paul
 
paulpenta said:
Ampersand in text box manipulates other text. I actually want the
phrase "MOT & E" to appear. I've tried parenthesis around the &.
All I get is the "E" underlined.

I've tried a back slash before it (Which, I think tells access that I
want a literal &). all I get is the backslash.

Are you sure you aren't talking about a label, not a text box? This
happens with the captions of labels, but I'm not aware of text boxes
acting that way. The solution with labels is to double-up the
ampersand: "&&" --> "&" in the displayed caption.
 
Ampersand in text box manipulates other text. I actually want the phrase
"MOT & E" to appear. I've tried parenthesis around the &. All I get is the
"E" underlined.

I've tried a back slash before it (Which, I think tells access that I want a
literal &). all I get is the backslash.

Any ideas?

The trick is to use && where you want to see &: "MOT && E"

John W. Vinson[MVP]
 
paulpenta said:
Thanks, Dirk. && worked and it was the body of the text box, not the
label

I'm glad your problem is solved, but I'm curious as to what exactly is
going on. The behavior you describe is not normal for text boxes.
 
Back
Top