Problems with Parameters in StoredProcedures (II)

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
jalin
Posts: 23
Joined: Tue 18 Mar 2008 14:45

Problems with Parameters in StoredProcedures (II)

Post by jalin » Thu 17 Apr 2008 01:44

MySQL 5.1.22, MyDac 5.20.1.14,
D6

I think there is a bug on the TMyStoredProcedure.

1. I created and installed a procedure in MySQL. The procedure contain one parameter.

2. I dropped a TMyStoredProcedure component and detected the parameter ok.

3. I modified the store procedure in MySQL and I added a new parameter. Reinstalled the procedure in MySQL

4. When I see the component, it recogized the new parameter BUT IN TEXT VIEW I SEE ONLY THE FIRST PARAMETER.

I think the component never refresh the parameters.

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Thu 17 Apr 2008 12:18

In order to refresh the parameters in TMyStoredProcedure in design time, you should open the parameters editor and save the new parameters by pressing the OK button.

Post Reply