My configuration:
Delphi xe
Firebird 2.1
IBObjects 4.9.12
Windows 7 64bits
I get an exception when I try to set a value for the IBOQuery parameter ("Failed to convert the variant of type (UnicodeString) to type (Double)").
An exception arises from the TIB_Column.SetAsVariant procedure in IB_Components.pas (line 42795). To create this situation, just try passing the string to the date parameter:
myQuery.paramByName('mydate').AsString := DateToStr(IncDay(Now,5));
Over the past 25 days, I have been trying to resolve this situation, but I have no answers on the IBO support list.
Does anyone have an idea?
source share