"Syntax Error in expression" strange error
In my directory "c:\pietro\user" i have a table named "ORDINI.DB"
created with DataBase Desktop.
I have a form with a query component and a TField component.
I have wrote this query:
SELECT *
FROM "C:\pietro\user\Ordini.Db"
WHERE Ordini."Data Ordine" > :DataOrdineInizio
It's a dinamic query where "Data Ordine" is a field of the table.
Into the code of the form i have this istructions:
on create event - QueryOrdini.Create;
on onClik event - QueryOrdini.Close;
QueryOrdini.ParamByName('DataOrdineInizio').AsDate := 01/01/96;
QueryOrdini.Open;
where QueryOrdini is the name of my Query.
Always i have the error "Syntax Error in expression. Field : Data
Ordine. Table : c:\pietro\user\ordini.db: Image 2".
Help !!! Please answer at <tecn...@gefran.it>, if possible. Thanks.