Print Problem In Dynamics Ax

hi all,

I Write a Code To Print A Report In Ax

i write this code

args.name(reportstr(ReportName));
reportRun = classFactory.reportRunClass(args);
reportrun.run();

open this form, i Dont Want , Open This Step Of Print And Directly show Print Preview

plz Help Me

Hi,

You need to add a parm to launch your report preview, you can try to add the following in your code:

reportRun.args().parm(yourParm)

Hope it helps, please verify solution if it solves your problem

regards,

Thomas