Autor Beitrag
Gwaineg
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 55

WIN XP Prof
D7 Ent
BeitragVerfasst: Di 30.08.05 07:59 
Moin

hab folgendes Problem, ich will ein normales Select Statement machen, indem nur alle Datensätze angezeigt werden in denen ein Attribut vom Typ Memo nicht leer ist, also so
ausblenden Delphi-Quelltext
1:
2:
3:
qu.SQL.Clear;
qu.SQL.Add('select * from text where text!=''''');
qu.Open;

qu ist meine TQuery und text ist eben vom Typ Memo, bei open kommt aber diese Fehlermeldung

Zitat:
Keine Übereinstimmung der Typen im Ausdruck.


ich hab kA wie ich es sonst abfragen soll
Jacer
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 105

Windows 7, Vista, Ubuntu
HTML,CSS,PHP,Delphi 7
BeitragVerfasst: Mo 12.02.07 14:17 
Die reine Abfrage eines Memos ist auch mit deiner MEthode möglich.
Du musst lediglich bei der WHERE-Bedingung QuotedStr() nutzen.

Möglicherweise musst du eine leere Variable zur Prüfung nutzen.

_________________
A look in the eyes often says more than a hundred words could ever express.