Underline part of a contatenated statement

M

Mark G

Does anyone know if it is possible to underline only part of a contatenated
statement? I would like to be able to have a contatenated statement for a
report that would produce Author(underlined), Publisher, Edition, Chapter. I
only need the author underlined but I end up with all or nothing. I am
running Access 2007. Any help would be great.

Thanks
Mark
 
A

Allen Browne

Yes: you can do that in Access 2007 (but not previous versions.)

This example underlines the surname:
=[FirstName] & " <u>" & [Surname] & "</u>"

Be sure to set the Text Format property of the text box to:
Rich Text

(Although MS calls it rich text, the tags are actually HTML.)
 
M

Mark G

Thank you Allen for the quick response. It works perfectly

Mark

Allen Browne said:
Yes: you can do that in Access 2007 (but not previous versions.)

This example underlines the surname:
=[FirstName] & " <u>" & [Surname] & "</u>"

Be sure to set the Text Format property of the text box to:
Rich Text

(Although MS calls it rich text, the tags are actually HTML.)

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

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

Mark G said:
Does anyone know if it is possible to underline only part of a
contatenated
statement? I would like to be able to have a contatenated statement for a
report that would produce Author(underlined), Publisher, Edition, Chapter.
I
only need the author underlined but I end up with all or nothing. I am
running Access 2007. Any help would be great.

Thanks
Mark
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top