Something like this might do the trick (did not try it yet): $tableName:=Table name(pTable) $fieldName:=Field name(pField) QUERY(ds[$tableName];ds[$tableName][$fieldName]=$aValue)
When an object property name is on a variable, you can use the “object[property]” syntax. hth julio > On Apr 11, 2018, at 4:08 PM, Keith Culotta via 4D_Tech <[email protected]> > wrote: > > Hello, > > I didn't recognize a solution for this in the docs. > When the table and field are unknown until execution time, any suggestions on > what the ORDA approach to this type of query would be? > > QUERY(pTable->;pField->=$aValue) > > Thanks - Keith - CDI > ********************************************************************** > 4D Internet Users Group (4D iNUG) > FAQ: http://lists.4d.com/faqnug.html > Archive: http://lists.4d.com/archives.html > Options: https://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:[email protected] > ********************************************************************** -- Julio Carneiro [email protected] ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

