ODBC and Dates

Hi everybody I’m connecting to a Navision Financial database from a program developped with Delphi. When querying like this : SELECT * FROM Fabrications WHERE Date = {d’2002-07-04’} The ODBC error message is : “Invalid operand for operator: =” This is the same message if operator is >= or <=. What’s wrong in my syntax ?