Bug #29702 | MySQl Incorrectly translating ADO numeric parameters | ||
---|---|---|---|
Submitted: | 10 Jul 2007 22:32 | Modified: | 11 Jul 2007 0:50 |
Reporter: | David Boccabella | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: Stored Routines | Severity: | S2 (Serious) |
Version: | 5.0.41 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | ADO, Parameter, stored procedures, translation |
[10 Jul 2007 22:32]
David Boccabella
[11 Jul 2007 0:15]
David Boccabella
Changed Version from ODBC version to MySQL version
[11 Jul 2007 0:17]
Jess Balint
David, The correct code is: cmd.CreateParameter("PARAM1", ADODB.DataTypeEnum.adInteger, ADODB.ParameterDirectionEnum.adParamInput, 0, 300) Notice that the fourth parameter is the size, but the fifth is the actual value.
[11 Jul 2007 0:50]
David Boccabella
ACK!! ACK!! ACK!!.. My Bad... User/Keyboard Interface error Many thanks Jess. Your a lifesaver. the Intellisense is sometimes difficult to read when one has a lot of parameters. I take it the Size parameter is when one is using strings etc. Again Thanks Dave