To Display query which are currently exceuting from form datasource in Axapta. You just need to user toString method with Querybuilddatasource clase object, Query q; QueryBuildDataSource qbds; ; q = this.query(); qbds = q.dataSourceName("CustTable"); strfmt("%1", qbds.toString());
Technical Tutorials x++,tips on issues or troubleshooting On Ax ERP ,Microsoft Dynamics 365,Ax 2012,Microsoft , U.S.,Business Software solution.