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!

Intersting Problem...

Status
Not open for further replies.

WannaLearn

Programmer
Jul 10, 2001
210
US
I have a situation: How can I embed HTML font tags (such as font face, font color, Bold, Italics, etc...) into an Access Database and have CF read it?
For Example, I have an Access Database that I want some words to be in Bold and others regular. How can I do that and have CF read that and display that. For some reason under Access I can only make the entire cell bold or italics, not certain words.
Anyone have any ideas?
 
you might want to take closer look at this 2 cf functions:

HTMLCodeFormat will return HTML escaped string enclosed in <PRE> and </PRE> tags. All carriage returns are removed from string, and all special characters (> < &quot; &) are escaped.

HTMLEditFormat returns HTML escaped string. All carriage returns are removed from string, and all special characters (> < &quot; &) are escaped.

what I have in mind is to use these functions to put html formated text into database field, and then when you are outputing that field, the bowser will read it as html, therefore, whatever word from that field is within <b> tags, browser will output that word as bold text;
this is just an idea...



Sylvano
dsylvano@hotmail.com

&quot;every and each day when I learn something new is a small victory...&quot;
 
WWebSpider, Hi. Thanks for repsonding. I'm not quite sure I understand it right. Is this something you had in mind:

<PRE><font face=&quot;Arial, Tahoma, Verdana&quot; size=&quot;1&quot; color=&quot;#003399&quot;></PRE>2. A - <PRE><b></PRE>Sole Proprietorship<PRE></b></PRE> – You have indicated that your business is organized as a sole proprietorship. Short Form and instructions are available.
</font>

I would like to make the entire field in font-face Arial, Tohama, Verdana. Also, ONLY make the word: 'Sole Proprietorship' in bold.

Thankyou for answering me hun.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top