Problem with D5 and Midas

alex

Member
Unfortunatly we are restricted to use your TOracleDataset Component due to exisiting conversion code (Hence we cant use straight DOA). However there seems to be a problem in
function TOracleDataSet.PSGetParams: TParams;
where it assigns a default Parameter Type of ptInput. If using your Dataset with TDatasetProvider the provider component will not process ptInput see
function TCustomProvider.GetRecords in Provider.pas. It is required that you return them as either ptOutput or ptInputOutput for calling stored procedures that are functions hence return a ptResult actually. Please correct that existing bug.
 
Worst than I originally thought ... you guys have forgotten to try and remember the original Parameter Type of the Parameter coming from the TDatasetProvider. Any chances that you can fix this or will you cancel support for Midas now ?

PS. Try it out with a Stored Procedure that is a function returning a ptResult to simulate it. Now result gets returned ever. For some strange reason Borland additionally forgot to inlude the ptresult type as a Standard Output type. Dont know how this will get resolved but there ought to be a way.
 
It turned out that all parameter types are ptInput after they are fetched from the server. This is fixed for 3.4.4.

------------------
Marco Kalter
Allround Automations
 
Back
Top