Hi everyone,
How can I test if there is no returned value when executeQuery method in dataSource is running? there is any way to count the number of returned records?
Code:
itemQbr = InventTable_ds.query().dataSourceName('InventTable').addRange(fieldnum(InventTable,ItemId));
itemQbr.value(queryvalue(X));
if(InventTable_ds.getNext()== null) //
{
info("not found!");
}
else
{
InventTable_ds.executeQuery();
}
Thanks.
*This post is locked for comments
I have the same question (0)