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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Ampersand in dynamic text control

Status
Not open for further replies.

axth3

Programmer
Jul 18, 2011
1
0
0
US
We have a problem in setting data in a dynamic text control; we are getting the data from Oracle.

We have noticed that whenever the Oracle data contains an ampersand, the dynamic text control ignores the text after the ampersand. This could be due to ampersand being the concatenation operator for dynamic text controls. How can we handle this scenario?

Any help is appreciated.

 
If your dynamic text control TextFormat property is set to TextFormatHTML, you need to replace the ampersand in the text with & which is the HTML tag for ampersand. This is in the documentation under "Working With HTML Tags". By the way, also make sure there really is an ampersand in your Oracle text; some editors replace the ampersand because they think it's a variable.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top