cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JR-BejeweledOne
Super User
Super User

HTML formatting with variables

 I think I already know the answer but here goes anyway.

 

I have a validation on one of my apps that will present data from a variable.   I can display all the text and the variable in either a label or an html text box.

 

I want to go one step further using the HTML to bold and underline the variable content but so far haven't been able to do it without it shouting at me.

 

I really don't want to  use 3 separate labels to do this but I think I might have to.

 

This does NOT work:   "Text"  & <b>varXXX</b> & "Text"   and this does NOT work:   "Text" <b> & varXXX & </b> "Text"

 

Is it possible to do what I am trying to do in the HTML text box or am I stuck with using 3 separate labels?



If you like this post, give it a Thumbs up. If it answered your question, Mark it as a Solution to enable other users find it.
1 ACCEPTED SOLUTION

Accepted Solutions
Pstork1
Dual Super User III
Dual Super User III

It should be possible, but the second example has the quotes in the wrong place.  Try this

"Text <b>" & varXXX & "</b> Text"


-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

2 REPLIES 2
Pstork1
Dual Super User III
Dual Super User III

It should be possible, but the second example has the quotes in the wrong place.  Try this

"Text <b>" & varXXX & "</b> Text"


-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

That's the one configuration I didn't think of.    You Rock!



If you like this post, give it a Thumbs up. If it answered your question, Mark it as a Solution to enable other users find it.

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (42,474)