'------------------------------------------------------
'Tabelle für den Ankauf
rtb.FontSize =12
rtb.Underline = True
rtb.BackColor = Rgb (192,192,192)
rtb.AddText("| Nr." &Tab &"| Gewicht" &Tab &Tab &"| Karat" &Tab &"| Gegenstand" &Tab &Tab &Tab &"| Euro " &CRLF)
rtb.Underline = False
'------------------------------------------------------
'Nr. 1
rtb.Underline = True
If mZusammenfassung.lvTabelle.CellGet("Euro", 0) <> "0,00" Then
rtb.AddText ("| "&mZusammenfassung.lvTabelle.CellGet("Nr", 0)&"" &Tab)
End If
'Gewicht 1
If mZusammenfassung.lvTabelle.CellGet("Euro", 0) <> "0,00" Then
rtb.AddText ("| "&mZusammenfassung.lvTabelle.CellGet("Gewicht", 0)&" gr" &Tab &Tab)
End If
'Karat 1
If mZusammenfassung.lvTabelle.CellGet("Euro", 0) <> "0,00" Then
rtb.AddText ("| "&mZusammenfassung.lvTabelle.CellGet("Karat", 0)&" ct" &Tab)
End If
'Gegenstand 1
If mZusammenfassung.lvTabelle.CellGet("Euro", 0) <> "0,00" Then
rtb.AddText ("| "&mZusammenfassung.lvTabelle.CellGet("Nr", 0)&" Gegenstand" &Tab &Tab)
End If
'Euro 1
If mZusammenfassung.lvTabelle.CellGet("Euro", 0) <> "0,00" Then
rtb.AddText ("| "&mZusammenfassung.lvTabelle.CellGet("Euro", 0)&" € "&CRLF)
End If
'------------------------------------------------------
'Nr. 2
If mZusammenfassung.lvTabelle.CellGet("Euro", 1) <> "0,00" Then
rtb.AddText ("| "&mZusammenfassung.lvTabelle.CellGet("Nr", 1)&"" &Tab)
End If
'Gewicht 2
If mZusammenfassung.lvTabelle.CellGet("Euro", 1) <> "0,00" Then
rtb.AddText ("| "&mZusammenfassung.lvTabelle.CellGet("Gewicht", 1)&" gr" &Tab &Tab)
End If
'Karat 2
If mZusammenfassung.lvTabelle.CellGet("Euro", 1) <> "0,00" Then
rtb.AddText ("| "&mZusammenfassung.lvTabelle.CellGet("Karat", 1)&" ct" &Tab)
End If
'Gegenstand 2
If mZusammenfassung.lvTabelle.CellGet("Euro", 1) <> "0,00" Then
rtb.AddText ("| "&mZusammenfassung.lvTabelle.CellGet("Nr", 1)&" Gegenstand" &Tab &Tab)
End If
'Euro 2
If mZusammenfassung.lvTabelle.CellGet("Euro", 1) <> "0,00" Then
rtb.AddText ("| "&mZusammenfassung.lvTabelle.CellGet("Euro", 1)&" € "&CRLF)
End If
'------------------------------------------------------
.
.
... and so on ...