Hi Martin,
Yes, I understand how to add ranges. The examples I provided—001, 002, 003—were merely illustrative.
My main concern is that "Table 1" could contain any number of employee IDs. I want "Table 2" to filter out all the employee IDs present in "Table 1."
Currently, if I Override an execute query in Table 2 like this:
this.query().dataSourceTable(tableNum(table2)).addRange(fieldNum(table2, empid)).value(queryValue(Table1.Empid));
it only filters out a single employee ID from Table 1, rather than all relevant employee IDs.
Could you please advise on how to achieve the desired filtering?
Thank you!
QueryBuildDataSource myTableQbds = myTable_ds.queryBuildDataSource(); myTableQbds.addRange(fieldNum(MyTable, MyField)).value(queryValue('001')); myTableQbds.addRange(fieldNum(MyTable, MyField)).value(queryValue('002')); myTableQbds.addRange(fieldNum(MyTable, MyField)).value(queryValue('003'));
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Andrés Arias as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Sohaib Cheema 825 User Group Leader
André Arnaud de Cal... 763 Super User 2025 Season 2
CA Neeraj Kumar 601