Report.RUN in Preview Mode

Hi, Is there a way to run a report without request form in preview mode ?

No, you just need to hit the preview button. What i once did was using sendkeys (you can find it in “windows scripting host” automation library) to simulate the preview button click [:D] See MSDN for info on SendKeys.

Look at you navision help [^] REPORT.RUNMODAL(Number [, ReqWindow] [, SystemPrinter] [, Record]) REPORT.RUNMODAL(ReportID ,FALSE , TRUE) [8D] Regards John

yes, but you wouldn’t get the preview mode would you?