Article View: borland.public.cppbuilder.database.ado
Article #2203access violation sqloledb.dll
From: Francesco
Date: Tue, 14 Oct 2003 09:12
Date: Tue, 14 Oct 2003 09:12
27 lines
1632 bytes
1632 bytes
Hi,
i called a stored procedure in this way on Edit1Exit event
if(Edit1->GetTextLen() != 0)
{
DM->sp_SceltaExtra->Close();
DM->sp_SceltaExtra->Parameters->Refresh();
DM->sp_SceltaExtra->Parameters->ParamByName("@fieldName")->Value =
"CODEXT";
DM->sp_SceltaExtra->Parameters->ParamByName("@fieldValue")->Value =
Edit1->Text;
DM->sp_SceltaExtra->Prepared = true;
DM->sp_SceltaExtra->Open();
if(!DM->sp_SceltaExtra->Eof)
FormAggiorna();
DM->sp_SceltaExtra->Close();
}
and all works fine, but if i do the same for the 2nd time i get an
error "access violation in module sqloledb.dll"
it's like if i forgot to "clear" something.
what's wrong??
Francesco
Technical Details
Message-ID:
<3f8bbe16@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!in.100proofnews.com!in.100proofnews.com!pd2nf1so.cg.shawcable.net!residential.shaw.ca!news-out.superfeed.net!propagator2-maxim!news-in.superfeed.net!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,16f8e01c5650b8e1,start X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2003-10-14 02:18:36 PST From: "Francesco" <.> Subject: access violation sqloledb.dll Newsgroups: borland.public.cppbuilder.database.ado User-Agent: XanaNews/1.15.7.4 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 NNTP-Posting-Host: 217.172.212.72 Message-ID: <3f8bbe16@newsgroups.borland.com> Date: 14 Oct 2003 02:12:54 -0700 X-Trace: newsgroups.borland.com 1066122774 217.172.212.72 (14 Oct 2003 02:12:54 -0700) Lines: 27 Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!in.100proofnews.com!in.100proofnews.com!pd2nf1so.cg.shawcable.net!residential.shaw.ca!news-out.superfeed.net!propagator2-maxim!news-in.superfeed.net!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail