Problem with parameters in Store Procedures
Problem with parameters in Store Procedures
I was working with MySQL 5.0.27 and updated to 5.1.22. (MyDac 5.20.1.14)
I was working ok but now I have a problem: I cant see the parameters (PARAMS property) of MyStoredProc. When I click on the property the parameters are empty. This is happening with all my store procedures and functions. When I create a new Procedure the resukt is the same: I cant see parameters. I installed again MySQL 5.0.27 and the problem is the same.
What am I missing ?
Thanks
Alejandro
I was working ok but now I have a problem: I cant see the parameters (PARAMS property) of MyStoredProc. When I click on the property the parameters are empty. This is happening with all my store procedures and functions. When I create a new Procedure the resukt is the same: I cant see parameters. I installed again MySQL 5.0.27 and the problem is the same.
What am I missing ?
Thanks
Alejandro
Please specify some additional information:
- exact version of MyDAC. You can see it in the About sheet of TMyConnection Editor;
- exact version of your IDE;
- do you see the list of stored procedures in the design-time editor on the SQL tab?
- is the command to call the stored procedure generated on the SQL tab in the design-time editor of TMyStoredProc?
- exact version of MyDAC. You can see it in the About sheet of TMyConnection Editor;
- exact version of your IDE;
- do you see the list of stored procedures in the design-time editor on the SQL tab?
- is the command to call the stored procedure generated on the SQL tab in the design-time editor of TMyStoredProc?
- exact version of MyDAC. You can see it in the About sheet of TMyConnection Editor;
5.20.1.14
- do you see the list of stored procedures in the design-time editor on the SQL tab?
Yes
- is the command to call the stored procedure generated on the SQL tab in the design-time editor of TMyStoredProc
Yes, but without parameters.
Before I had the problem, I detected what I think is a bug. I created a Stored Procedure (with MySQL Query Browser) with 4 parameters named:
-xKeySource
-xTranSource
-xKeyResult
-xTransResult
TMyStoredProc detected the procedure and the parameters. Then I changed the name of the parameters in the source code (MySQL Query Browser) such as:
-xKeySource
-xTranSource
-xKeyResult
-xTranResult (without an "s")
and TMyStoredProc didnt detected the new name, I had to change it manually (Text DFM).
So I think there is a bug when you change the name of the parameters.
Alejandro
5.20.1.14
- do you see the list of stored procedures in the design-time editor on the SQL tab?
Yes
- is the command to call the stored procedure generated on the SQL tab in the design-time editor of TMyStoredProc
Yes, but without parameters.
Before I had the problem, I detected what I think is a bug. I created a Stored Procedure (with MySQL Query Browser) with 4 parameters named:
-xKeySource
-xTranSource
-xKeyResult
-xTransResult
TMyStoredProc detected the procedure and the parameters. Then I changed the name of the parameters in the source code (MySQL Query Browser) such as:
-xKeySource
-xTranSource
-xKeyResult
-xTranResult (without an "s")
and TMyStoredProc didnt detected the new name, I had to change it manually (Text DFM).
So I think there is a bug when you change the name of the parameters.
Alejandro
Problem with parameters
Im going to prepare the sample, but I didnt understand where should I send it ?
Im going to send it next monday because the holy week and I will be in my office next week.
Alejandro
Im going to send it next monday because the holy week and I will be in my office next week.
Alejandro
Problem with parameters
I uninstall MySQL and reinstall it. (5.1.22)
I chose the CUSTOM installation and installed all the options. And now, its working ok.
Thanks
Alejandro
I chose the CUSTOM installation and installed all the options. And now, its working ok.
Thanks
Alejandro