Can you use ORDA? $entity_selection_o:=ds.theTable.query("theOneToManyRelationName.length = 0 OR theOneToManyRelationName.length > x") USE ENTITY SELECTION($entity_selection_o)
Now each record in the current selection for theTable either has either no related records or more than x-related records. > On Feb 18, 2019, at 3:00 PM, Jim Medlen via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > is it possible to query for records that have no related records or greater > than X ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************