Hello,
for example:
in your report fetch-method:
formRun fr = element.args().caller();
formDataSource fds = fr.datasource();
query q = new query(fds.queryRun().query());
;
queryRun = new queryRun(q);
While (queryRun.next())
{
custTrans = queryRunGet(tableNum(custTrans));
this.send(custTrans);
}
Bye
Jörg
________________________________
Von: [email protected] [mailto:[EMAIL PROTECTED] Im Auftrag
von Loganathan Sivaswamy
Gesendet: Freitag, 4. Januar 2008 10:53
An: [email protected]
Betreff: [development-axapta] How to pass Query from Form to Report?
Hi guys,
I am new to Ax.
1. I have created one form with CustTrans table.
2. I have created one report with CustTrans table.
In new form i have added some dataranges.
I would like to run the report from Form for the set of records in From.
How can i pass the (query) record from new form to report?
Thanks in Advance,
Logu
---------------------------------
Looking for last minute shopping deals? Find them fast with Yahoo! Search.
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]