A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How do I use the & character in an Access Report Header?



 
 
Thread Tools Display Modes
  #1  
Old April 22nd, 2009, 09:11 PM posted to microsoft.public.access.reports
Jeff B.[_2_]
external usenet poster
 
Posts: 1
Default How do I use the & character in an Access Report Header?

I am trying to create a report that uses the & character in the report
header, i.e., Salt & Pepper. When I enter that in the design phase, Access
2003 allows that, but when I execute the report, it substitutes an underscore
(_) for the & (ampersand). It is probably because the & is used as the
concatenation operator, but I haven't been able to find any way around this
yet. Do I use some kind of function or expression in the report header?
  #2  
Old April 22nd, 2009, 09:19 PM posted to microsoft.public.access.reports
John Spencer MVP
external usenet poster
 
Posts: 533
Default How do I use the & character in an Access Report Header?

If you want the ampersand to appear then use TWO of them
Salt && Pepper



John Spencer
Access MVP 2002-2005, 2007-2009
The Hilltop Institute
University of Maryland Baltimore County

Jeff B. wrote:
I am trying to create a report that uses the & character in the report
header, i.e., Salt & Pepper. When I enter that in the design phase, Access
2003 allows that, but when I execute the report, it substitutes an underscore
(_) for the & (ampersand). It is probably because the & is used as the
concatenation operator, but I haven't been able to find any way around this
yet. Do I use some kind of function or expression in the report header?

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 04:14 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.