Announcements
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'));
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!
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.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
André Arnaud de Cal... 451 Super User 2026 Season 1
Subra 428
Shaluma 302