Article View: borland.public.cppbuilder.database.ado
Article #1558Re: Strange OLE-DB error
From: Palmetzhofer Dietmar
Date: Sat, 15 May 2004 11:36
Date: Sat, 15 May 2004 11:36
94 lines
3077 bytes
3077 bytes
Thanks! One of the parameters exceeded the value-range (in fact it was NAN), and this caused the error. "Palmetzhofer Dietmar" <xxremovethisxx_dietmar.palmetzhofer@boku.ac.at> schrieb im Newsbeitrag news:40a2943c@newsgroups.borland.com... > I am making an update-Operation in an TADOQuery using Parameters. > The first time I am executing the statement, everything works fine. > But when I am trying to do the same thing a second time, I�ll get the > following > error: > "Error in an OLE-DB operation, consisting of of more than one step" > (the message is in german, so the translation might not be correct; > the german message is: > "Fehler bei einer aus meheren Schritten bestehenden OLE-DB Operation") > I am using BCB 6.0 against a MSAccess 2000 database. > > Here is the statement: > UPDATE CONES_AuswSystemleistung > > SET > > Ausw_ZeitbedarfMontage= :DauerMobilkranSum, > > Ausw_ProduktivitaetFaellung= :Prodf, > > Ausw_ProduktivitaetRueckung= :Prodr, > > Ausw_EntnahmeVolumen= :Nutzunglfm, > > Ausw_ZeitmdP0= :DauerMobilkranP0, > > Ausw_ZeitmdP1= :DauerMobilkranP1, > > Ausw_ZeitmdP2= :DauerMobilkranP2, > > Ausw_ZeitmdP3= :DauerMobilkranP3, > > Ausw_ZeitmdP4= :DauerMobilkranP4, > > Ausw_ZeitmdP5= :DauerMobilkranP5, > > Ausw_ZeitmdP6= :DauerMobilkranP6, > > Ausw_ProdfP0= :ProdfP0, > > Ausw_ProdfP1= :ProdfP1, > > Ausw_ProdfP2= :ProdfP2, > > Ausw_ProdfP3= :ProdfP3, > > Ausw_ProdfP4= :ProdfP4, > > Ausw_ProdfP5= :ProdfP5, > > Ausw_ProdfP6= :ProdfP6, > > Ausw_ProdrP0= :ProdrP0, > > Ausw_ProdrP1= :ProdrP1, > > Ausw_ProdrP2= :ProdrP2, > > Ausw_ProdrP3= :ProdrP3, > > Ausw_ProdrP4= :ProdrP4, > > Ausw_ProdrP5= :ProdrP5, > > Ausw_ProdrP6= :ProdrP6, > > Ausw_NutzVlfmP0= :NutzunglfmP0, > > Ausw_NutzVlfmP1= :NutzunglfmP1, > > Ausw_NutzVlfmP2= :NutzunglfmP2, > > Ausw_NutzVlfmP3= :NutzunglfmP3, > > Ausw_NutzVlfmP4= :NutzunglfmP4, > > Ausw_NutzVlfmP5= :NutzunglfmP5, > > Ausw_NutzVlfmP6= :NutzunglfmP6 > > WHERE > > Ausw_Szenarionr= :Szenarionr; > > Hope, someone can help! > > >
Technical Details
Message-ID:
<40a60011$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<40a2943c@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: GERMAN,ASCII X-Google-Thread: 10698b,2bb8ad5b7269d7e9 X-Google-Attributes: gid10698b,public Reply-To: "Palmetzhofer Dietmar" <xxremovethisxx_dietmar.palmetzhofer@boku.ac.at> From: "Palmetzhofer Dietmar" <xxremovethisxx_dietmar.palmetzhofer@boku.ac.at> Newsgroups: borland.public.cppbuilder.database.ado References: <40a2943c@newsgroups.borland.com> Subject: Re: Strange OLE-DB error Date: Sat, 15 May 2004 13:36:01 +0200 Lines: 96 Organization: Univ. f. Bodenkultur X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 NNTP-Posting-Host: 193.170.68.244 Message-ID: <40a60011$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1084620817 193.170.68.244 (15 May 2004 04:33:37 -0700) Path: arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail