I have a text box which is being appended from another one. I'd like each
addition to appear in alternate colours! Does anyone know of a way that I can
change the font colour of just a section of a text box? Presumably this would
require some kind of embedded code.
>I have a text box which is being appended from another one. I'd like each
>addition to appear in alternate colours! Does anyone know of a way that I can
>change the font colour of just a section of a text box? Presumably this would
>require some kind of embedded code.
It cannot be done using a simple Access textbox. Instead you'll need a
"Rich Text Format" control - try searching http://www.mvps.org/access
using that as a search term. It will require storing the formatting
information in the text field, making it larger and perhaps harder to
search.
John W. Vinson[MVP]
Douglas J. Steele - 04 Sep 2006 17:35 GMT
>>I have a text box which is being appended from another one. I'd like each
>>addition to appear in alternate colours! Does anyone know of a way that I
[quoted text clipped - 8 lines]
> information in the text field, making it larger and perhaps harder to
> search.
Also, for a free ActiveX control that works with Rich Text Format, check out
what Stephen Lebans has at http://www.lebans.com/richtext.htm

Signature
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)
Currently you would need to use a Rich Text Control. Stephan Lebans has such
a control.
http://www.lebans.com/richtext.htm
>I have a text box which is being appended from another one. I'd like each
>addition to appear in alternate colours! Does anyone know of a way that I can
>change the font colour of just a section of a text box? Presumably this would
>require some kind of embedded code.

Signature
HTH - RuralGuy (RG for short) acXP WinXP Pro
Please post back to this forum so all may benefit.