473,503 Members | 8,131 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Text size and bold/italics function?

94 New Member
Is it possible to enlarge or bold a selection of text within a text box on an access report.

I want my text to appear as: "Report Unit Type: Registration"

I can't find any function to do this. I am hoping for something similar to UCase()

I currently have:
Expand|Select|Wrap|Line Numbers
  1. ='Report Unit Type: ' & [FES_LONG_DESCRIPTION]
Ordinarily i would just have 2 seperate text boxes, one for the header and the other for the detail but i want the text to be centred across the page
Oct 18 '07 #1
7 5983
missinglinq
3,532 Recognized Expert Specialist
I think you're pretty much stuck with the method you've already mentioned, having 2 seperate text boxes! They're two methods I've used:

One way would be to create a label and size it to fit all the way across the page. Then I place a capital X in the label, then set the bold and center attributes. Then I move the label to either just above or just below where the centered text needs to appear. I then use this as a guide in the placement of the text, switching from Design View to Preview. This isn't perfect, because the length of the "Report Unit Type" will vary.

The best way, where it will be truly centered, is to have it appear on two lines, one under the other. Use the same technique as I mentioned above; create each textbox and size it to fit all the way across the page. Then set the Center attribute on each, and the Bold attribute on the textbox you want bolded. It would look something like this:

Report Unit Type
Registration

Good Luck!

Linq ;0)>
Oct 18 '07 #2
Lewe22
94 New Member
Gutted! So there's seriously no known way of having it on the same line?
Oct 18 '07 #3
Jim Doherty
897 Recognized Expert Contributor
Gutted! So there's seriously no known way of having it on the same line?
If you're prepared to hone your coding skills (because basically Access cannot do everytihng in the world by default) Stephen Lebans the entreprenaurial master workaround magician that he is, has already addressed this in some of the downloads he has kindly made available on his site.. You might want to look particularly at the 'Mix-Bold Plain' section of his web page?

http://www.lebans.com/toc.htm

Regards

Jim :)
Oct 18 '07 #4
Scott Price
1,384 Recognized Expert Top Contributor
Subscribing... Jim, you've likely saved me from losing all the hair I have left that isn't grey yet :-) Thanks for that link!

Regards,
Scott
Oct 18 '07 #5
Jim Doherty
897 Recognized Expert Contributor
Subscribing... Jim, you've likely saved me from losing all the hair I have left that isn't grey yet :-) Thanks for that link!

Regards,
Scott

Ahahahahah.... Scott grey hair is distinguished or so I'm told

Jim :)
Oct 18 '07 #6
Scott Price
1,384 Recognized Expert Top Contributor
Grey *may* = Distinguished, but
Bald *does* = Extinguished LOL

Regards,
Scott
Oct 18 '07 #7
missinglinq
3,532 Recognized Expert Specialist
That's one of Stepen's gems I've missed! I'll have to put it in my help files!

Linq ;0)>
Oct 18 '07 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

8
2653
by: Irvin | last post by:
I am using an xml file to store data. I can get the data out now, but I have a problem with any field that needs text formatting such as bold, carriage return/linefeed, htmls tags. Can some one...
2
2603
by: UJ | last post by:
I have need to convert a text string (with formatting) to an image. This is so that I can resize the image to different sizes and the formatting stays exactly the same regardless of the size. I...
3
6907
by: Adam Honek | last post by:
Hi, Is there any way to get text written in a richtextbox to convert into HTML or must we go about it the long way? Any other control support text entry then conversion to HTML? Thanks,...
13
31355
by: =?Utf-8?B?S2VzdGZpZWxk?= | last post by:
Hi Our company has a .Net web service that, when called via asp.net web pages across our network works 100%! The problem is that when we try and call the web service from a remote machine, one...
16
11035
by: Neil | last post by:
I posted a few days ago that it seems to me that the Access 2007 rich text feature does not support: a) full text justification; b) programmatic manipulation. I was hoping that someone might...
4
6012
by: pablorp80 | last post by:
Hello, Here is what I need: I need the focus and the cursor set to a textbox named txtGT, every time no matter if it is the first page load or whether it is a postback. Here is the problem: I...
2
12180
by: r_ahimsa_m | last post by:
Hello, I am learning CSS and other WWW technologies. In the folowing definition italic doesn't work: h2 { color: Brown; text-decoration: italic; }
0
7207
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7291
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7357
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7468
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5023
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3180
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3171
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
748
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
402
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.