PDA

View Full Version : Report Integration



TMike
4-Apr-2021, 12:45 PM
Ich habe mit dem - deutschen - ReportView Wizard den SourceCode für einen RDS-Report erstellt.
Beim compilieren erhalte ich den Fehler 4320: (ln 235) Fehlendes Argument 39
Die Zeile 235 ist allerdings leer:

14471

Es ist die Zeile oberhalb von Object oFibuTblGK.
Ich sollte vielleicht erwähnen, dass die Datei (RV) in OEM gespeichert ist.
Könnten die enthaltenen UTF-Codes Probleme bereiten?

TMike
5-Apr-2021, 02:43 AM
Ich dachte das Programm WinReportWizard.exe sei für die Integration zuständig,
also habe ich statt der deutschen Version wieder die originale Version genommen,
allerdings mit der selben Fehlermeldung: Fehler 4320 in einer leeren Zeile.
Zuständig ist wohl: IntegrateDataFlexReports.exe
Die .rv Datei ist laut Notepad++ UTF8 codiert, was ich im Moment noch nicht nutze.
Also habe ich sie testweise mal nach ANSI umcodiert. Selber Fehler.
Kann es einen Zusammenhang mit folgender Warnung geben:

14472

Umgebung: Win10, DF 2021, DR 2021

Vincent Oorsprong
5-Apr-2021, 02:47 AM
Michael,

This compiler error means that a string open instruction (a single or double quote) was found but that is wasn't closed. Number 39 is a single quote. The screenshot does not show strings delimited with a single quote so you need to look up from line 235 and find the missing single quote. When this is a quote in one of the DataFlex Reports packages please let us know and we fix it for a next build.

TMike
5-Apr-2021, 03:20 AM
Thanks Vincent,
I found it here:



Object oParametersGroup Is A Group
Set Label to "Parameter"
Set Location to 5 5


Object oKtoParameterForm Is A Form
Set Size to 12 27
Set Location to 10 66
Set Label_Justification_Mode to jMode_Left
Set Label_Col_Offset to 60
Set Label to "Kto"
Set psToolTip to "Wähle Kto"
Set Status_Help to 'Parameter Feld 'Kto' Wert'
Set Form_Margin to 3
Set piMaxSize to 12 21
Set piMinSize to 12 6
Set Form_Datatype to Ascii_Window
End_Object
Set Size to 26 98
End_Object




The line with the Status_Help causes the error.
It was created by the integration wizard.

Vincent Oorsprong
5-Apr-2021, 03:48 AM
Michael,

This compiler warning tells you there are two OPENREPORT functions and one returns a STRING and the other one a BOOLEAN. As long as you do not call functions that cause these warnings in an expression there is no problem.

The integration wizard does not tell the DataFlex Studio that the source code is UTF-8; in other words; it does not write a BOM character. Output is UTF-8 as the 20.0 wizards write UTF-8 strings.