Mar 1, 2012

How to get the information of query runing on datasource?

write the below line in fetch after the super();

info(this.query().dataSourceTable(tablenum(ProjInvoiceTable)).toString());

How to get the recId of the reports' body ?

The below can display the recId of the record which is executing in report

write below line after the super() in send()

info(strfmt('%1',_cursor.RecId));