Currently, I have a list of strings that represent SiteId's
I'm trying to think of a way to insert the values into the QueryBuildRange.value() property.
QueryBuildRange.value(listObject) does not work as it only expects one string.
I was thinking I could iterate through the list but I figured I might have to create a new QueryBuildRange object each time as I don't think there's an addEnd() method like there are for lists.
Then I'd have to bring the values from each together.
If I'm wrong please explain
Thanks!
P.S. here is my code
while select SiteId from siteToUser where curUserId() == siteToUser.user
{
siteList.addEnd(siteToUser.SiteId);
}
sysTableLookup = SysTableLookup::newParameters(tableNum(InventSite),_lookup);
qbds = query.addDataSource(tableNum(InventSite));
qbr = qbds.addRange(fieldNum(InventSite, SiteId));
qbr.value();