Subject | stored procedure parameter |
---|---|
Author | pgozzini |
Post date | 2003-11-18T13:34:05Z |
storedproc:
CREATE PROCEDURE CLIENTI_INI
RETURNS (
DITTA VARCHAR(10))
AS
BEGIN
FOR SELECT MIN(DITTA)
FROM CLIENTI
INTO :DITTA
DO
BEGIN
SUSPEND;
END
END
My code:
with CLIENTI_INI do //ibostoredprocedure
begin
EXECPROC;
codric := parambyname('ditta').asstring;
end;
Code work fine with ver. 4.2.ie and precedent
fb 1.5 rc7 delphi 7
with 4.3a error is: parameters 'ditta' not found
if you can help me.
tanks
Gozzini pietro
CREATE PROCEDURE CLIENTI_INI
RETURNS (
DITTA VARCHAR(10))
AS
BEGIN
FOR SELECT MIN(DITTA)
FROM CLIENTI
INTO :DITTA
DO
BEGIN
SUSPEND;
END
END
My code:
with CLIENTI_INI do //ibostoredprocedure
begin
EXECPROC;
codric := parambyname('ditta').asstring;
end;
Code work fine with ver. 4.2.ie and precedent
fb 1.5 rc7 delphi 7
with 4.3a error is: parameters 'ditta' not found
if you can help me.
tanks
Gozzini pietro