Menu

#3 composite types declaration in kopi forms

open
None
9
2008-03-04
2008-03-03
naim
No

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).

Discussion

  • Wael Ben Moussa

    Wael Ben Moussa - 2008-03-04
    • priority: 5 --> 9
     
  • Wael Ben Moussa

    Wael Ben Moussa - 2008-03-04
    • assigned_to: nobody --> bmwael
     

Log in to post a comment.