Hi,
I hope this sample can help you:
static void Reports_ExecuteReportSilent(Args _args)
{
Args args;
SysReportRun reportRun;
;
args = new Args();
args.name(reportstr(MyReport));
reportRun = classFactory.reportRunClass(args);
reportRun.query().interactive(false);
reportRun.report().interactive(false);
reportRun.setTarget(PrintMedium::Printer);
reportRun.run();
}
Best regards,
Liviu
----- Original Message ----
From: tangolp <[EMAIL PROTECTED]>
To: [email protected]
Sent: Thursday, January 25, 2007 6:30:36 PM
Subject: [development-axapta] print report automatically
Hello,
I'd like to know how to send a report to the printer automatically
without getting the dialog box showing up each time. Is there a way to
achieve this in the code? Thanks.
____________________________________________________________________________________
TV dinner still cooling?
Check out "Tonight's Picks" on Yahoo! TV.
http://tv.yahoo.com/
[Non-text portions of this message have been removed]