This Blog is Dedicated to all the AX Developers all over the World.I've created this blog to share the knowledge I've acquired while working with Axapta.I hope you enjoy reading my blogs as much as I enjoyed creating it. I wish you a very happy Developing!! -- Santhosh Reddy
Tuesday, 22 November 2011
Using graphics in forms and legacy reports
Override Standard Query in Report Fetch Method
Hi
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()
Regards
Reddy
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()
Regards
Reddy
Subscribe to:
Posts (Atom)