Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Formating part of a text box display as bold

Status
Not open for further replies.

Moss100

Technical User
Joined
Aug 10, 2004
Messages
586
Location
GB
Hello all,

Sometimes the easiest tasks are the most frustrating:

I have a textbox, [textdisplay] on a form whos control source displays several other textboxes:

the control source is : =[text1]&" "&[text2]&" "&[text3]

I would like the value of only [text2] to appear as bold - please could someone point me in the right direction.

I would rather do it using the data line in the control source.

Many thanks

Mark
 
You can't do this in a regular text box. You might be able to use a rich text control which depends on your version of Access. I have never used these.

Duane
Hook'D on Access
MS Access MVP
 
Like said a rich text box will work.

I did not try it, but I think it is

= [text1] & " <div><strong>" & [text2] & "</strong></div>" & [text3]
 
Sorry the div is a carriage return. This works
Text Format: Rich Text

= [text1] & " <strong>" & [text2] & " </strong>" & [text3]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top