Print Thread
Problem with D5 and Midas
#1712 02/24/01 05:34 AM
Joined: Feb 2001
Posts: 3
Cambridge, UK
A
alex Offline OP
Member
OP Offline
Member
A
Joined: Feb 2001
Posts: 3
Cambridge, UK
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.

Re: Problem with D5 and Midas
#1713 02/24/01 06:17 AM
Joined: Feb 2001
Posts: 3
Cambridge, UK
A
alex Offline OP
Member
OP Offline
Member
A
Joined: Feb 2001
Posts: 3
Cambridge, UK
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.

Re: Problem with D5 and Midas
#1714 02/28/01 08:48 PM
Joined: Aug 1999
Posts: 22,218
Member
Offline
Member
Joined: Aug 1999
Posts: 22,218
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


Marco Kalter
Allround Automations

Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.024s Queries: 13 (0.006s) Memory: 2.5039 MB (Peak: 3.0424 MB) Data Comp: Off Server Time: 2024-05-14 17:57:42 UTC
Valid HTML 5 and Valid CSS