Autor Beitrag
noidic
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 851

Win 2000 Win XP Vista
D7 Ent, SharpDevelop 2.2
BeitragVerfasst: Do 12.04.07 10:10 
Mahlzeit,

ich hab hier grad ein kleines Problem. Ich hab eine TClientDataset-Instanz zur Laufzeit erstellt und mit Daten gefüllt. Nun möchte ich einen Filter darauf anwenden:

ausblenden Delphi-Quelltext
1:
  cdsCustomer.Filter := 'Month(birthdate) = (Month(GetDate) + 1)';					


Laut Delphi-Hilfe müsste das gehen, aber wenn ichs ausführe bekomm ich nen EDatabaseError mit 'Feld GetDate nicht gefunden'.

Jemand ne Idee?

_________________
Bravery calls my name in the sound of the wind in the night...
noidic Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 851

Win 2000 Win XP Vista
D7 Ent, SharpDevelop 2.2
BeitragVerfasst: Do 12.04.07 11:48 
Problem gelöst, es muss heissen:

ausblenden Delphi-Quelltext
1:
 cdsCustomer.Filter := 'Month(birthdate) = (Month(GetDate()) + 1)';					


Blöde Delphi-Hilfe...

_________________
Bravery calls my name in the sound of the wind in the night...