Autor Beitrag
Hendrik
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 324



BeitragVerfasst: Di 10.02.04 20:23 
Hi!


Wie kann ich denn ein Datum in einem Filterausdruck einbinden? Bei mir motzt er nämlich immer wegen des Punktes im Ausdruck...
infomio
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 110

Win xy

BeitragVerfasst: Di 10.02.04 22:58 
Wie ist denn das Datumsformat in der Datenbank, oder wird gar keine DB benutzt ???

_________________
Viele Wege führen nach Rom - aber welcher führt zurück???
MAlsleben
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 303

W2k,WinXP
D3 - DXE3 Enterprise
BeitragVerfasst: Mi 11.02.04 11:04 
Hi,

Du mußt das Datum in Hochkommas setzen.

Gruß Micha.

_________________
Viele Wege führen nach Rom.
Hendrik Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 324



BeitragVerfasst: Mi 11.02.04 15:50 
Ja das hab ich auch so...

Ich muss mich korrigieren: Die Meldung ist nun : "Filterausdruck fehlerhaft abgeschlossen!"
Udontknow
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2596

Win7
D2006 WIN32, .NET (C#)
BeitragVerfasst: Mi 11.02.04 16:33 
Hallo!

Evtl. irgendwie falsch geklammert? Zeige am besten ein bisschen Code.

Cu,
Udontknow
Hendrik Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 324



BeitragVerfasst: Mi 11.02.04 16:51 
Hi!

ausblenden Delphi-Quelltext
1:
table.filter:='Eröffnung='+quotedstr(datetostr(date));					
Udontknow
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2596

Win7
D2006 WIN32, .NET (C#)
BeitragVerfasst: Mi 11.02.04 17:03 
Hmmm... Ein Umlaut in einem Feldnamen? Ist das überhaupt erlaubt? Was für eine DB benutzt du? Was für DB-Komponenten?

Cu,
Udontknow
Hendrik Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 324



BeitragVerfasst: Mi 11.02.04 17:04 
Das is ne Paradox 7...