Subject Re: html tags with dbase coding
From Gaetano D. <gaetanodd@hotmail.com>
Date Sun, 4 Apr 2021 04:28:56 +1000
Newsgroups dbase.getting-started

On 4/04/2021 3:00, Charlie wrote:
> Hi..  I am working with this code:
>
> replace desc with '"'+trim(master->au_desc) + '' + trim(text2)+'"'
>
> It works fine as above.
>
> au-desc comes from a dbase character field.  text2 is a text string.
>
> I am trying to insert <b></b> bold tags around au_desc with no luck.  I have tried several combinations but either get an expecting logical error or expecting memo.
>
> Any suggestions how I can fix this?  Perplexing as it doesn't seem that complicated.  I can display additional info if needed.   Thanks for any suggestions.

Have you tried this:
replace desc with '"'+chr(60)+"b"+chr(62)+trim(master->au_desc)+chr(60)+"/b"+chr(62) + '' + trim(text2)+'"'

Gaetano.