Re: stored proc RETURN_VALUE.... there it is, I want to use it !!!
- From: Marc Scheuner <no.spam@xxxxxx>
- Date: Wed, 27 Apr 2005 09:01:27 +0200
> adosp.Parameters.CreateParameter('RESULT_VALUE',ftCurrency,
>pdReturnValue, 10, 0);
> ADOSP.Parameters.CreateParameter('guestID',ftString, pdInput, 10,
>trim(adodsGuests.FieldValues['guestid']));
Your parameter name is incorrect - the parameter in the MS-SQL stored
proc is "@guestID", so you need to create a parameter with that name,
too - don't drop the @ from the parameter name !
Also, since MS-SQL stored proc parameters always have to have a @ as
their first character, try the same for your return value:
adosp.Parameters.CreateParameter('@RESULT_VALUE', ftCurrency,
pdReturnValue, 10, 0);
Marc
.
- References:
- Prev by Date: Re: stored proc RETURN_VALUE.... there it is, I want to use it !!!
- Next by Date: ADO and BLOB
- Previous by thread: Re: stored proc RETURN_VALUE.... there it is, I want to use it !!!
- Next by thread: Re: stored proc RETURN_VALUE.... there it is, I want to use it !!!
- Index(es):
Relevant Pages
|