Hi,
new day, new question. Now we try to bind our report to a xml-datasource
dunring runtime.
The report was designed years ago and bound to a ttx file.
The ttx file includes also the declatation of the variables and look like this:
he string 255 Zeichenfolge
tplatz string 255 Zeichenfolge
tlager string 255 Zeichenfolge
tlgruppe string 255 Zeichenfolge
klag boolean Falsch
ymhd datetime XXX
yvhe string 255 Zeichenfolge
ymgele number 0
yartliefnr string 255 Zeichenfolge
ylagername string 255 Zeichenfolge
ybio boolean Falsch
ywterm datetime XXX
yistmhd boolean Falsch
Now we try to fill the report with data out of a xml-file, which includes all the fields. Is it possible to define the variable-type in xml, like:
Now:
<he>teststring</he>
???
<he typ="string">teststring</he>
The problem is, that the report throws an error:
Error in Formel (we no the formel is ok and works in the old way).
'if {VLS.he} = "Lieferschein"
"Here a number field or a currency amount field is required."
But why the field is declared as string!
Thanks a lot
Best Regars
RM
