"Cannot convert type" with TimeStamp Parameter
Posted: Mon 27 Mar 2017 14:07
Hello,
I'm migrating my server applications from DBExpress to UniDac an I've a problem using TUniQuery with a timestamp parameter.
I can set the timestamp parameter with correct date and time (as well formated SqlTimSt.StrToSQLTimeStamp).
But as soon as open a TClientDataSet (cds that is connected in TDataSetProvider, and Provider is connected in TUniQuery) I get an error: "cannot convert type".
The same test using Firebird DB is sucessefully.
And more, this case using DbExpress + "dbExpress driver for Oracle" (DBXOda) also works.
I am doing something wrong?
Thanks.
I'm migrating my server applications from DBExpress to UniDac an I've a problem using TUniQuery with a timestamp parameter.
I can set the timestamp parameter with correct date and time (as well formated SqlTimSt.StrToSQLTimeStamp).
But as soon as open a TClientDataSet (cds that is connected in TDataSetProvider, and Provider is connected in TUniQuery) I get an error: "cannot convert type".
The same test using Firebird DB is sucessefully.
And more, this case using DbExpress + "dbExpress driver for Oracle" (DBXOda) also works.
I am doing something wrong?
Thanks.