How can I get the filtered datasource query after pressing Ctrl +G

You use the queryRun() object instead of the Query(), like so:

info(datasourceName.queryRun().query().datasourceNo(1).ToString());
info(InventTable.queryRun().query().datasourceNo(1).ToString());

info(InventTable_ds.queryRun().query().datasourceNo(1).ToString());

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.