Italics in mid-sentence?

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

Guest

Is it possible, maybe in a TextBox, to run a piece of code in mid-paragraph
that italicizes the following text? Like this:

="Yada yada important stuff, but " & [ItalOn] & "this is even more
important." & [ItalOff] & " Don't you agree?"

Thanks!
 
LongWayFromHome said:
Is it possible, maybe in a TextBox, to run a piece of code in
mid-paragraph that italicizes the following text? Like this:

="Yada yada important stuff, but " & [ItalOn] & "this is even more
important." & [ItalOff] & " Don't you agree?"

Thanks!

Not with a standard Access control no. You would have to store Rich Text
tags in your data and use a Rich Text ActiveX control to display it. In a
report you could use code to write the text instead of a TextBox and then
you would be able to do it.
 
Rick, do you think it's too early to mention that A2007 will support rich
text?

--
Allen Browne - Microsoft MVP. Perth, Western Australia.

Reply to group, rather than allenbrowne at mvps dot org.

Rick Brandt said:
LongWayFromHome said:
Is it possible, maybe in a TextBox, to run a piece of code in
mid-paragraph that italicizes the following text? Like this:

="Yada yada important stuff, but " & [ItalOn] & "this is even more
important." & [ItalOff] & " Don't you agree?"

Thanks!

Not with a standard Access control no. You would have to store Rich Text
tags in your data and use a Rich Text ActiveX control to display it. In a
report you could use code to write the text instead of a TextBox and then
you would be able to do it.
 
Since it was discussed in the Access BLOG last November, I would say not.

http://blogs.msdn.com/access/archive/2005/11/07/490113.aspx

:-)
--
Jeff Conrad
Access Junkie - MVP
http://home.bendbroadband.com/conradsystems/accessjunkie.html
http://www.access.qbuilt.com/html/articles.html

in message:
Rick, do you think it's too early to mention that A2007 will support rich text?

--
Allen Browne - Microsoft MVP. Perth, Western Australia.

Reply to group, rather than allenbrowne at mvps dot org.

Rick Brandt said:
LongWayFromHome said:
Is it possible, maybe in a TextBox, to run a piece of code in
mid-paragraph that italicizes the following text? Like this:

="Yada yada important stuff, but " & [ItalOn] & "this is even more
important." & [ItalOff] & " Don't you agree?"

Thanks!

Not with a standard Access control no. You would have to store Rich Text tags in your data and
use a Rich Text ActiveX control to display it. In a report you could use code to write the text
instead of a TextBox and then you would be able to do it.
 
Back
Top