CX_REPORT_BIRT::PrintReport
Beschreibung:
Erstellt den Report und – je nach Wahl des Feldes noUserInteraction
– wird das Ergebnis angezeigt, direkt zum Drucker geschickt oder nichts
damit getan.Die drei Werte für noUserInteraction sind wie folgt: (ab Dll-Version: 4.5.2.170920)
Wert | Bedeutung |
---|---|
0 | Report wird geöffnet |
1 | Report wird gedruckt |
2 | Report wird nur erstellt |
Als Rückgabewert wird der Dateinamen des erzeugten Berichts auf dem Stack abgelegt.
Code-Beispiel:
1 report Put(noUserInteraction) // this report will be printed without user interaction report Call(PrintReport) -> reportName // print the report and save the resulting filename reportName reportFile Put(fileName) // put the filename into an CX_ASCII_FILE-object
Stack | Position | Objekttyp | Kurzbeschreibung |
---|---|---|---|
Stack(In) | Top | CX_REPORT_BIRT | Der Bericht |
Stack(Out) | Top | STRING | Der Dateiname der erzeugten Datei |
Funktionsaufruf: Call(PrintReport)