Wael Ben Moussa
-
2008-03-04
- priority: 5 --> 9
Actually, tanit generates composite types under a field 's declaration.
By this way we can not compile this generated form anymore.
- Example:
VISIT LIEFNR AT <1, 2>
LABEL "Lieferant"
STRING(8)
LIST {
(SELECT bas.liefnr AS liefnr,
l.kurzbez AS kurzbez
FROM bestand_bas bas,
lieferant l
WHERE bas.liefartnr LIKE :(@EINGABE.LIEFARTNR)
AND bas.liefnr = l.liefnr
)
} IS
"liefnr" = liefnr : STRING(8)
"kurzbez" = kurzbez : STRING(20)
END LIST
END FIELD
The type has to be defined separetely (at the top of the form or in another file and reference it in the field's declaration).