It works very nicely, John, so thanks again. One further question: if I know a record’s record number, how do I use ORDA to create an entity containing that record (more or less the equivalent of GOTO RECORD)?
I’m finding ORDA quite exciting, but it’s tricky (for me, anyway) to do some things which have become second-nature under the “old” approach. Jeremy > On 28 Dec 2019, at 19:43, John DeSoi via 4D_Tech <[email protected]> wrote: > > By "selection based listbox" I assume you mean traditional record selection > listbox and not an entity selection/collection listbox. I have not tested > this, but I think it will work without changing the highlighted records or > scroll position. > > COPY SET("UserSet";"MySet") > CUT NAMED SELECTION([Table];"CurrentSelection") > USE SET("MySet") > $entitySelection:=Create entity selection([Table]) > USE NAMED SELECTION("CurrentSelection") > COPY SET("MySet";"UserSet") > > Since it is not possible to pass an entity selection from one process to > another, it would be really nice if 4D provided direct commands to convert > sets and named selections into entity selections. > > John DeSoi, Ph.D. > > >> On Dec 28, 2019, at 7:35 AM, Jeremy Roussak via 4D_Tech >> <[email protected]> wrote: >> >> I have a selection-based listbox. I’d like to make an entity selection from >> the highlighted rows in the box. Is there an easy way? I’m new to ORDA, so >> I'probably missing something obvious. ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

