Autor Beitrag
csigg
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 706

WIn XP, Win NT, Win2000, Suse8.0
Delphi 5, Delphi 6
BeitragVerfasst: Mo 11.04.05 14:53 
Ich hab ne Interbase Datenbank, und wenn ich ein String einfüge, ist am Ende immer ein || oder so ähnlich, wie bekomm ich das weg???
UGrohne
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Veteran
Beiträge: 5502
Erhaltene Danke: 220

Windows 8 , Server 2012
D7 Pro, VS.NET 2012 (C#)
BeitragVerfasst: Mo 11.04.05 15:03 
Wie fügst Du denn den String ein? Denn eigentlich ist das ziemlich ungewöhnlich. Wir brauchen Code!
csigg Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 706

WIn XP, Win NT, Win2000, Suse8.0
Delphi 5, Delphi 6
BeitragVerfasst: Mo 11.04.05 15:10 
z.b. so:
ausblenden Delphi-Quelltext
1:
2:
'UPDATE reservierung SET notes=''' + Item.Text.Text +
                  ''' WHERE idkey=''' + Item.DBKey +'''';
CenBells
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1547

Win 7
Delphi XE5 Pro
BeitragVerfasst: Mo 11.04.05 20:06 
Hi,

das Problem kommt nicht vom SQL-Statement, sondern eher vom zuweisen der Eigenschaft Item.Text.text

Grundsätzlich ist das || wahrscheinlich die Darstellung eines Zeilenvorschub mit Carriagereturn. Das kann in einem Edit halt nicht dargestellt werden.

Gruß
Ken

_________________
Eine Klasse beschreibt die Struktur und das Verhalten einer Menge gleichartiger Objekte.
csigg Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 706

WIn XP, Win NT, Win2000, Suse8.0
Delphi 5, Delphi 6
BeitragVerfasst: Di 12.04.05 13:28 
also teilweise wenn ich es wieder auslese wird es ignoriert, d.h. das es nicht angezeigt wird, und manchmal wird es angezeigt.