How to insert a record in an Oracle table with a field of type Date


I am trying to insert a record in an Oracle table, which has a Date field,
using dbExpress.

The query looks like this:

insert into MyTable( field1, field2, dateField)
values( :value1, :value2, :dateFieldValue)

dateField is type Date in Oracle (9i)

I assign the parameter like this:

qry.ParamByName('dateFieldValue').AsDateTime := Now();

When I execute the query, I get an exception with the message 'dbExpress
Error: Invalid Field Type'.

Please, let me know how to solve this problem.