BrianGooch
Programmer
Hi
Delphi 2009, Firebird 1.5, ODBC Driver Firebird 2.0.0 on win32.
I have the following TADOCommand set as
cmdType = cmdStoredProc
cmdText ='StoredProcName'
ConnectionString or Connection == Firebird/Interbase(r) Driver..... etc
Provider = MSDASQL
Connection works fine and the results can be displayed via an ADODataset.RecordSet in a DBGrid.
The StoredProc has parameters 1 x input and 40 x output.
I can create the 1 x input parameter using a variable say P1 = TParameter.Create(Parameters) and this works fine.
In order to avoid having to manually create the Parameters Collection - a lengthy coding procedure using the above P1 example, I have tried using the Parameters.GetParamList but this always returns empty.
Am I not using the components and methods correctly, or is it that the combination of MSDASQL provider and the Firebird ODBC 2.0 driver are not permitting the reading of the StoredProcs' parameter list as located on the Server metadata?
Delphi 2009, Firebird 1.5, ODBC Driver Firebird 2.0.0 on win32.
I have the following TADOCommand set as
cmdType = cmdStoredProc
cmdText ='StoredProcName'
ConnectionString or Connection == Firebird/Interbase(r) Driver..... etc
Provider = MSDASQL
Connection works fine and the results can be displayed via an ADODataset.RecordSet in a DBGrid.
The StoredProc has parameters 1 x input and 40 x output.
I can create the 1 x input parameter using a variable say P1 = TParameter.Create(Parameters) and this works fine.
In order to avoid having to manually create the Parameters Collection - a lengthy coding procedure using the above P1 example, I have tried using the Parameters.GetParamList but this always returns empty.
Am I not using the components and methods correctly, or is it that the combination of MSDASQL provider and the Firebird ODBC 2.0 driver are not permitting the reading of the StoredProcs' parameter list as located on the Server metadata?