Autor Beitrag
saxe66
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 104



BeitragVerfasst: Do 09.02.06 15:42 
Kann man auf einfache Art im Rahmen eines Filters prüfen, ob in einem Memo-Datenbankfeld etwas drin steht bzw. ob dieses leer ist ??

Ich meine in etwa sowas wie

Tab.Filter:='Datum='+Quotedstr(datumstr)+' and memo<>leer';

Vielen Dank im Voraus ...
digi_c
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1905

W98, XP
D7 PE, Lazarus, WinAVR
BeitragVerfasst: Fr 10.02.06 09:50 
Funktioniert da nicht NULL wie bei SQL?
raiguen
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 374

WIN 2000prof, WIN XP prof
D7EP, MSSQL, ABSDB
BeitragVerfasst: Mi 22.02.06 12:06 
user profile icondigi_c hat folgendes geschrieben:
Funktioniert da nicht NULL wie bei SQL?


Jupp!

Filterausdruck für obiges Beispiel würde dann so aussehen:

Tab.Filter:='Datum=' + Quotedstr(datumstr) + ' and memo IS NOT NULL';


Gruß