It looks like you're new here. Sign in or register to get started.
REPORT.RUNMODAL(ReportID,TRUE,FALSE,Record); // or Report4711.USEREQUESTFORM(TRUE); Report4711.RUNMODAL;
IF NOT CurrReport.PREVIEW THEN ERROR('This Report must be started in Preview mode!');
Comments
You can use 'REPORT.RUNMODAL' or <report variable>.RUNMODAL. Check help on these two options.
Documentation for Microsoft Navision
E/R diagrams, Workflow diagrams, UML diagrams, process diagrams
You have to show the request form. If the report should never be printed, use following code in the OnPreReport section: Note: If you choose "SaveAsHTML" or "SaveAsXML", CurrReport.PREVIEW will be true!
Microsoft Dynamics NAV Developer since 1997
MSDynamics.de - German Microsoft Dynamics Community - member of [clip]