Subject Re: html tags with dbase coding
From Ken Mayer <dbase@nospam.goldenstag.net>
Date Sat, 3 Apr 2021 11:25:12 -0700
Newsgroups dbase.getting-started

On 4/3/2021 10:00 AM, 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.

As always it would help if you showed us the *exact* command that is
causing the problem.

replace desc with '"<b>'+trim(master->au_desc) + '</b> ' + trim(text2)+'"'

Should work. Note I added a space there, not sure you want/need it.

Ken

--
*Ken Mayer*
Ken's dBASE Page: http://www.goldenstag.net/dbase
The dUFLP: http://www.goldenstag.net/dbase/index.htm#duflp
dBASE Books: http://www.goldenstag.net/dbase/Books/dBASEBooks.htm
dBASE Tutorial: http://www.goldenstag.net/dbase/Tutorial/00_Preface.htm
dBASE Web Tutorial: http://www.goldenstag.net/dbase/WebTutorial/00_Menu.htm