Query query = new Query();
QueryBuildDataSource queryBuildDataSource;
SysTableLookup sysTableLookup = sysTableLookup::newParameters(tableNum(InventTable), this);
;
sysTableLookup.addLookupfield(fieldNum(InventTable, ItemId));
sysTableLookup.addLookupfield(fieldNum(InventTable, itemGroupId));
queryBuildDataSource = query.addDataSource(tableNum(InventTable));
queryBuildDataSource.addRange(fieldNum(InventTable, itemGroupId))
.value(SysQuery::valueLike('a'));
sysTableLookup.parmQuery(query);
sysTableLookup.performFormLookup();
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,269 Super User 2024 Season 2
Martin Dráb 230,198 Most Valuable Professional
nmaenpaa 101,156