Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Make a bold particular words in variable contents
Message
From
04/11/2009 13:37:17
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Make a bold particular words in variable contents
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01433159
Message ID:
01433159
Views:
137
Hi there,
I made some report where I'm using public variable called pubInfo. This variable is made of sentences like this:
John Doe was born on 10/12/2009, in the city Kansas city, state Kansas... and few sentences that are common for all records by using TEXT ENDTEXT statement. I did it on this way:
TEXT TO pubInfo NOSHOW TEXT PRETEXT 7
<<a_name_last>> was born at <<a_dbirth>>, in the city <<a_city>>, state <a_state>> ... (few sentences)
ENDTEXT
and by using this variable in VFP reports looks great but my customer wants to make bold in report just data like a_name_last and a_city, and rest of text to remain regular. I tried to solve it by using some HTML directive like:
TEXT TO pubInfo NOSHOW TEXT PRETEXT 7
<HTML>
<b> <<a_name_last>> </b> was born at <<a_dbirth>>, in the city <b> <<a_city>> </b>, state <a_state>>
</HTML>
ENDTEXT
but without success. Does anybody have some idea to solve this? Thank you a lot.
Next
Reply
Map
View

Click here to load this message in the networking platform