Re: ORDA and 4D selections

2019-04-10 Thread Arnaud de Montard via 4D_Tech
> Le 10 avr. 2019 à 02:46, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> a > écrit : > > Chuck, > There is no reason to use ORDA if you need a regular selection. Just use > the classic 4D query commands. It depends, for example you have a nice modern orda based interface and want to print it…

Re: ORDA and 4D selections

2019-04-10 Thread John DeSoi via 4D_Tech
Good points. The primary disadvantage in my opinion is the loss of table and field referencing because queries and other functions embed everything in strings. Understanding or modifying a large code base (especially if you did not write it) is going to be a lot harder with ORDA versus tradition

Re: ORDA and 4D selections

2019-04-10 Thread Christian Sakowski via 4D_Tech
Chuck and Kirk, ORDA has many advantages compared to the classic 4D language: - no side effects, - no accidentally record locking - working with (named) relations -> much better readable and very powerful - much better support and handling of entitySelections (sets) - now a project method can retu

Re: ORDA and 4D selections

2019-04-10 Thread Chuck Miller via 4D_Tech
I think returns will be much faster. That is the only reason Regards Chuck Chuck Miller Voice: (617) 739-0306 Informed Solutions, Inc. Fax: (617) 232-1064 mailto:cjmillerinformed-solutio

Re: ORDA and 4D selections

2019-04-10 Thread Arnaud de Montard via 4D_Tech
> Le 9 avr. 2019 à 21:21, Douglas von Roeder via 4D_Tech <4d_tech@lists.4d.com> > a écrit : > > “There are simply too many notes.” :-) I'd naturally try in code editor something starting with "entity selection to..." or "selection from...". I dislike command naming starting with a verb whe

Re: ORDA and 4D selections

2019-04-09 Thread Kirk Brooks via 4D_Tech
Chuck, There is no reason to use ORDA if you need a regular selection. Just use the classic 4D query commands. On Tue, Apr 9, 2019 at 2:27 PM Charles Miller via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Hi all, > > is there any way to perform a query using ORDA and create a current > selection or

Re: ORDA and 4D selections

2019-04-09 Thread Douglas von Roeder via 4D_Tech
“There are simply too many notes.” -- Douglas von Roeder 949-336-2902 On Tue, Apr 9, 2019 at 12:01 PM cjmiller--- via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Thanks I knew it was there but couldn’t find it. Sometimes I wish we still > only had 100s of commands instead of what we have > > Regar

Re: ORDA and 4D selections

2019-04-09 Thread cjmiller--- via 4D_Tech
Thanks I knew it was there but couldn’t find it. Sometimes I wish we still only had 100s of commands instead of what we have Regards Chuck Sent from my iPhone > On Apr 9, 2019, at 2:36 PM, ericklui678 via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Hi Chuck, > > You can use the command USE

Re: ORDA and 4D selections

2019-04-09 Thread ericklui678 via 4D_Tech
Hi Chuck, You can use the command USE ENTITY SELECTION to convert the resulting entity selection to a current selection of that corresponding table. https://doc.4d.com/4Dv17/4D/17.1/USE-ENTITY-SELECTION.301-4179710.en.html