This is one way of running a report from code

    Args                        args = new Args();
    ReportRun               reportRun;
    ;
    args.name(reportstr(myReport));
    reportRun = new ReportRun(args);
    reportRun.run();

or if you need to execute a method on the ReportRun, then like this

    object                  object;
    Args                    args = new Args();
    ReportRun           reportRun;
    ;
    args.name(reportstr(myReport));
    reportRun = new ReportRun(args);
   
    object    = reportRun;
    object.myMethod(filename);
   
    reportRun.run();

Best regards
Erik Hansen
Mikia IT-Solutions




________________________________

Fra: sting_xcr [mailto:[EMAIL PROTECTED]
Sendt: ti 01-06-2004 21:16
Til: [EMAIL PROTECTED]
Emne: [development-axapta] Execute report from the event clicked.


Hi All,

I need to execute a report from the event  clicked()   of a
button,it must be a process programmed, only.

How I can do that, any idea or tip ?

Thanks

Julio Jim�nez





Yahoo! Groups Sponsor     
ADVERTISEMENT
click here <http://rd.yahoo.com/SIG=129ubd3j1/M=295196.4901138.6071305.3001176/D=groups/S=1705006764:HM/EXP=1086204656/A=2128215/R=0/SIG=10se96mf6/*http://companion.yahoo.com>      
     

________________________________

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] <mailto:[EMAIL PROTECTED]>
       
*      Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> .




[Non-text portions of this message have been removed]



Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to