🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.interbase.sql
Article #11082

SQLDA - missing or incorrectversion or incorrect number...

#11082
From: Gugão
Date: Fri, 20 Dec 2002 20:05
26 lines
2037 bytes
Please, I use Kylix3 Professional, Mnadrake 8.2 and Interbase 6, 
when i run this procedure at second time an error showns like

SQLDA - missing or incorrect version or incorrect number...

I found an answer from Borland, They said that I should  prepare and 
unprepare
but I cant use it. 
Is not possible in CLX ?  

Thats my code

procedure TFrmPedido.Bcc;
begin
   with IBSPBcc do
   begin
       ParamByName('IDCLIENTE').AsInteger  := v_idcliente;
       ExecProc;
       v_credito := ParamByName('VRCREDITO').AsCurrency;
       v_limite  := ParamByName('VRLIMITE').AsCurrency;
     end;
end;

All suggestions will be nice

Regards
Technical Details
Message-ID: <3e037852@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!amsnews01.chello.com!news-hub.cableinet.net!blueyonder!newspeer1-gui.server.ntli.net!ntli.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fa73d,d20d344287fb547e,start
X-Google-Attributes: gidfa73d,public
X-Google-Thread: 114a0e,d20d344287fb547e,start
X-Google-Attributes: gid114a0e,public
X-Google-Thread: 10a82e,d20d344287fb547e,start
X-Google-Attributes: gid10a82e,public
X-Google-ArrivalTime: 2002-12-20 12:11:09 PST
Message-ID: <3e037852@newsgroups.borland.com>
From: Gugão <lgsm@mirassol.com.br>
Subject: SQLDA - missing or incorrectversion or incorrect number...
Newsgroups: borland.public.interbase.sql,borland.public.kylix.database.dbexpress,borland.public.kylix.database.sqlservers
Followup-To: borland.public.interbase.sql
Reply-To: lgsm@mirassol.com.br
Date: Fri, 20 Dec 2002 18:05:21 -0200
Lines: 26
User-Agent: KNode/0.7.1
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7Bit
NNTP-Posting-Host: 200.178.247.242
X-Trace: newsgroups.borland.com 1040414803 200.178.247.242 (20 Dec 2002 12:06:43 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!amsnews01.chello.com!news-hub.cableinet.net!blueyonder!newspeer1-gui.server.ntli.net!ntli.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail