this is one way to do the reportrun.
MenuFunction mf;
Reportrun reportEntrada;
Args A = new args();
;
mf = new menuFunction(reportstr("name of your report"), menuitemtype::Output);
A.record("datasource");
reportEntrada = mf.create(a);
reportEntrada.run();
gonzalo_edo <[EMAIL PROTECTED]> wrote:
How can I execute a report through code and pass it parameters, like
the active datasource??
Hope you can help me!
Regards
---------------------------------
Yahoo! Groups Links
To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
---------------------------------
[Non-text portions of this message have been removed]
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.