Subject Re: csv field data
From Ken Mayer <>
Date Mon, 19 Jul 2021 20:41:40 -0700
Newsgroups dbase.getting-started

On 7/19/2021 2:59 PM, Charlie wrote:
> Ken..  Thanks for that build tip.  Think I found the solution with this:
> shipcost = str(master->shipcost,7,2)
> arr= "{^price^:[^"+ltrim(shipcost)+"^]*^method^:[^Fedex^]}"
> It actually works, then a macro in libre to change ^ = "  and * = ,

Well, okay. Glad you have something working. Sometimes stepping back a
bit and looking at what's going on with the "big" picture helps. Knowing
that JSON is just text, means you can build the string yourself ...


*Ken Mayer*
Ken's dBASE Page:
The dUFLP:
dBASE Books:
dBASE Tutorial:
dBASE Web Tutorial: