Subject Re: html tags with dbase coding
From charlie <tm@tc.com>
Date Sat, 03 Apr 2021 16:58:38 -0400
Newsgroups dbase.getting-started

Thanks very much.  That works perfectly!  I don't know that there was a command problem.  I was just running a program of which I am replacing several fields in a table.  Take care.

Ken Mayer Wrote:

> 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