Re: 4D JSON Date Bug

2019-02-25 Thread Bart Davis via 4D_Tech
are to be treated as 4D dates. That is, no time associated with the > date. Then your expression: > >> OB SET($obj;"apiDate";"2019-02-24") > > would always return the 24th > > Best regards, > Jeremy > > >> On Feb 24, 2019, at 9:24 P

4D JSON Date Bug

2019-02-24 Thread Bart Davis via 4D_Tech
I just discovered what I think is a serious bug with 4D reading dates from an object. If you store a 4D date value in an object and retrieve it the value is correct. However, if you retrieve a date that is stored in the format -MM-DD, the date returned is one day less that the date

Re: Do I want to use SELECTION TO ARRAY instead of GOTO SELECTED RECORD server-side in V17

2018-09-17 Thread Bart Davis via 4D_Tech
> Bernd, > > Thanks for the report, it's interesting and believable. In this case, I > have to get the data into memory to send it... I guess I could write to a > file, load that and then send it. Interesting concept, thanks! No need to write to a file. Appending text to a text variable is very

Re: zipping files

2017-07-28 Thread Bart Davis via 4D_Tech
This method works great on Mac without using any plugin. I'm not sure if it can be tweaked to work on Windows. //zipFolderItem(sourcePath{;archivePath)->archivePath // -- zip file or folder. If success returns archivePath C_TEXT($0;$1;$2;$cmd;$sourcePath;$archivePath) C_LONGINT($ctr)

4D SQL Implementation

2017-04-14 Thread Bart Davis via 4D_Tech
> On Apr 14, 2017, at 2:35 AM, 4d_tech-requ...@lists.4d.com wrote: > > > Message: 3 > Date: Thu, 13 Apr 2017 16:31:15 -0400 > From: Jeffrey Kain > To: 4D iNug Technical <4d_tech@lists.4d.com> > Subject: Re: How to create Object field via SQL > Message-ID: