Formating Text

message from =?Utf-8?B?SERpYXM=?= on 11 May 2004
I am creating an access database which needs to have different words underlined, highlighted, and the fonts displayed in a different color.

When I select a word and change the font, color, underline (etc.) the entire table changes to that particular format. How can I only make certain portions of words or certain words/numbers change and not the whole table?

For example: 999-9999-9999 I would like to make the first set of 999 a different color (or underline, or italic, etc) and the remaining 9999-9999 stay black.

How would I do this without effecting the entire table?
Any help is appreciated....
thanks!
 
Cheryl Fischer replied to =?Utf-8?B?SERpYXM=?= on 11 May 2004
What you are trying to do is just not available at the Table level, as you
have discovered. If you use a form to add, edit and delete data (which is
HIGHLY recommended, as opposed to directly accessing tables), you can set
font properties for each control (field) on the form.

In order to modify display properties *within* each control so that some
part of the data is bold or a different color, etc., you will need to use a
Rich Text or RTF control, as manipulating the standard Text Box and other
controls in this manner is not possible. One is available here:
http://www.lebans.com/richtext.htm
 
PC User replied to Cheryl Fischer on 11 May 2004
These links may also help you get started.

http://www.access-programmers.co.uk/forums/attachment.php?attachmentid=5545
http://www.dbforums.com/attachment.php?attachmentid=2666

Good Luck,
PC
 
PC User replied to Cheryl Fischer on 11 May 2004
These links may also help you get started.

http://www.access-programmers.co.uk/forums/attachment.php?attachmentid=5545
http://www.dbforums.com/attachment.php?attachmentid=2666

Good Luck,
PC
 
=?Utf-8?B?SERpYXM=?= replied to Cheryl Fischer on 11 May 2004
Thanks Cheryl, I know about the forms and setting the controls. I went to the website you recommend and downloaded the RTF. I am confused as to what I am suppose to do now? How do I get the toolbar in the sample to appear in my version of Access when I open it?

My OS is XP Professional.
Thanks!
 
Stephen Lebans replied to =?Utf-8?B?SERpYXM=?= on 16 May 2004
You have to import the code and class modules from the Sample MDB into
your own. WHen you do this make sure you import the RTF ToolBar as well.
 

Archived message: Formating Text (Microsoft Access Forms)