09.08.2002, 14:38 | #2 |
Участник
|
В описании репортов есть:
Creating a report with multiple designs Reports in MorphX can have more than one design. You can use this to have multiple versions of the same report. For example you could have a report with two designs, where the first design would print as portrait and the second design would print as landscape. Creating multiple report designs If you are not familiar with how to create a report, click . To create a report with multiple designs, simply right-click the Designs node for the report, and choose New Report Design from the shortcut menu. Activating a specific report design When opening a report from the Application Object Tree, by choosing Open from the shortcut menu, the first design is used as default. To select a specific design when activating a report from the Application Object Tree: Expand the Designs node for the relevant report. Right-click the design you want to use, and choose Open from the short cut menu. From X++ use the design method on the ReportRun object to select the design you want to use: Args ArgList = new Args(reportStr(AReportWithMultipleDesigns)); ReportRun rr = new ReportRun (ArgList); rr.design('Report Design1'); //Select the design to be used rr.run(); ---- В данном конкретном случае, насколько я понимаю, выбирается по умолчанию Design (он зеленый). Но здесь не два варианта дизайна на самом деле, а один пользовательский. |
|