Page 1 of 1

conversion error at design time

Posted: Thu 29 May 2008 07:20
by comvision
We just updated from 5.2 to 5.5 and have an EConversion exception - cannot convert ")" to an integer - but only when running the app through the IDE. None of our test data has this character so we know it's not our code. Also, I reverted to 5.2 and the problem goes away.

The error occurs when calling Execute() on a TMyStoredProc.

At runtime...no issues.

Any ideas.

Posted: Thu 29 May 2008 09:19
by Dimon
This is specificity of executing stored procedure in the new MyDAC version.
You can hide this exception in the IDE using the Tools->Debugger Options...->Language Exceptions menu.

Posted: Thu 29 May 2008 10:27
by comvision
I know the exception can be hidden, but then it would hide other possible conversion issues - in other areas of my application.

Is it a bug, or is it a valid situation ? I don't see how it could be valid.

Posted: Tue 03 Jun 2008 07:20
by Dimon
This is a valid situation in the current MyDAC build. We will change this behaviour in the next MyDAC build.