Re: Scope of entity selection

2018-10-13 Thread Kirk Brooks via 4D_Tech
Peter, Collections are ordered. So just sort the entity selection first. On Sat, Oct 13, 2018 at 2:40 PM Peter Bozek via 4D_Tech < 4d_tech@lists.4d.com> wrote: > On Sat, Oct 13, 2018 at 10:29 PM Christian Sakowski via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > > >

Re: Scope of entity selection

2018-10-13 Thread Peter Bozek via 4D_Tech
On Sat, Oct 13, 2018 at 10:29 PM Christian Sakowski via 4D_Tech < 4d_tech@lists.4d.com> wrote: > $object.myIDs:=$entitySelection.toCollection("ID“).extract(„ID“) > new process(…;$object) > > and in the new process just create the new entity selection: > > ds.Table.query(„ID IN :1“;$object.myIDs)

Re: Scope of entity selection

2018-10-13 Thread Christian Sakowski via 4D_Tech
> If not, you could try LONGINT ARRY FROM SELECTION and pack the array into > shared object. Bad idea. First, you should avoid strongly shared objects in this case. Second, LONGINT ARRY FROM SELECTION has nothing to do with ORDA. Third: entities are process depended, because they may use

Re: Elementary question

2018-10-13 Thread Jeremy Roussak via 4D_Tech
In house. Does it matter? Jeremy On 13 Oct 2018, 17:00 +0100, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com>, wrote: > Is it an in-house solution or deployed? > PB > > On Sat, 13 Oct 2018 at 12:01, Jeremy Roussak via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > > > I usually work on a Mac. I have

Re: 4D field type Date and json to selection big question

2018-10-13 Thread Tim Nevels via 4D_Tech
On Oct 13, 2018, at 2:00 PM, Andrea Angeli wrote: > I found a problem receiving a json array in a field of type date with no > time, but also with time no 00:00:00.000Z. > So I wanted to share this problem in order to understand what I should aspect > from 4D. > > I know that this is a big

Re: Scope of entity selection

2018-10-13 Thread Alan Chan via 4D_Tech
Hi Peter, I haven't touched v17 yet. There might be easier way. If not, you could try LONGINT ARRY FROM SELECTION and pack the array into shared object. Alan Chan 4D iNug Technical <4d_tech@lists.4d.com> writes: >This may be related to other thread - Defining and documenting objects - as >it

Re: Elementary question

2018-10-13 Thread Pat Bensky via 4D_Tech
Is it an in-house solution or deployed? PB On Sat, 13 Oct 2018 at 12:01, Jeremy Roussak via 4D_Tech < 4d_tech@lists.4d.com> wrote: > I usually work on a Mac. I have to develop one application in 4D on a > Windows machine. It’s already up and working on the Mac. > > On my Mac, I can put aliases

Scope of entity selection

2018-10-13 Thread Peter Bozek via 4D_Tech
This may be related to other thread - Defining and documenting objects - as it is related to scope of new objects: I am playing a bit with 4D v17, and, if I understand it correctly, I can pass around shared objects and shared collection between processes (and workers, but I am not that far yet.)

Elementary question

2018-10-13 Thread Jeremy Roussak via 4D_Tech
I usually work on a Mac. I have to develop one application in 4D on a Windows machine. It’s already up and working on the Mac. On my Mac, I can put aliases to a few of my components, which I use frequently, in the Components folder of the 4D application. They’re then available to any 4D