Object must implement IConvertible.

Posts   
 
    
Lomegah
User
Posts: 19
Joined: 21-Apr-2005
# Posted on: 21-Apr-2005 21:38:59   

Hello, I have a bug wink

I have a "Object must implement IConvertible" from a method that always work. The only difference I have it's I changed my computer last week.

I call the Fill function in a typed view with a sort clause and a filter. The query does not run on my SQL Server.

What kind of bug is it ?

Thanks for your support

Jean-Luc Perreault

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39859
Joined: 17-Aug-2003
# Posted on: 22-Apr-2005 10:53:49   

It seems originating from a type mismatch between value passed as the parameter value and the set type of the parameter. Could you please check if you do this correctly? (for example, if you ahve a filter on a field of type single and you pass in 2.0, you pass in a double, not a single. simple_smile

Frans Bouma | Lead developer LLBLGen Pro
Lomegah
User
Posts: 19
Joined: 21-Apr-2005
# Posted on: 22-Apr-2005 13:21:47   

Thanks you, there was my integer variable changed as object.

Jean-Luc Perreault