Tuesday, 22 November 2011

Override Standard Query in Report Fetch Method

  They are some simple steps which can be followed while overriding Fetch Method to get values from standard Query of a Report as follows:

       queryRun = new QueryRun(this);    queryRun.query().dataSourceTable(tablenum(tablename)).addRange(fieldnum(tablename,Fieldname)).value(queryvalue(dialogbox fieldvalue));
We can Use SysQuery Class Range method as follows
 SysQuery::Range(<value range>) 
we can also use queryRange (date1 , date2) instead of queryvalue()


No comments:

Post a Comment