Hi, I'm using trial version to understand if MyDAC has same feature I need for my projects.
I've have a first question:
where can I find an example of TMyStoredProc that uses inpèut and output parameters?
Delphi 2007
MySQL 5.1.4
Thanks
Stored Procedures
You need only to define the StoredProcName property, and parameters for a stored procedure will be created automatically.
The example of code for using parameters of stored procedure:
The example of code for using parameters of stored procedure:
Code: Select all
MyStoredProc.StoredProcName := ProcName;
MyStoredProc.ParamByName(InputParameter).AsInteger := 1;
MyStoredProc.ExecProc;
Value := MyStoredProc.ParamByName(OutputParameter).AsString;-
sandro.carrara
- Posts: 4
- Joined: Wed 02 Jun 2010 11:27