Page 1 of 1

TOraStoredProc - Cannot Convert Type on Prepare

Posted: Thu 11 Nov 2004 21:26
by mikeho
What would cause the generic SCannotConvertType error to be thrown during a Prepare call for a TOraStoredProc?

Posted: Thu 11 Nov 2004 21:53
by mikeho
I think I found my own answer... seems that a Parameter was being set by ParamByName('ReceiveDate').AsDate = StrToDate(edRecDate.Text). I changed this to AsDateTime and the Prepare worked.

Posted: Fri 12 Nov 2004 08:17
by Paul
We fixed this problem with TOraParam.AsDate in ODAC 5.10.4.12. Please download the last ODAC version