Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Make a bold particular words in variable contents
Message
De
04/11/2009 13:37:17
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Make a bold particular words in variable contents
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01433159
Message ID:
01433159
Vues:
136
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform