Article View: borland.public.cppbuilder.database.ado
Article #981Re: Cannot perform this operation on a closed dataset ?!
From: Jochen Reichenberg
Date: Tue, 22 Feb 2005 08:40
Date: Tue, 22 Feb 2005 08:40
35 lines
1976 bytes
1976 bytes
Getting rid of the TADOTable components might solve your problems
AFAIK TADOTable is only for quick and dirty conversions of old applications
that used TTable. It should not be used in new projects.
"Vladimir Stefanovic" <antivari@po.sbb.co.yu> schrieb im Newsbeitrag
news:42151246@newsgroups.borland.com...
> Hi,
>
> There is a weird thing happened to me today with opening
> ADO connections in the most simpliest example I have shown
> in my previous post. I made many ADO programs so far and
> never had such problem.
>
> For example:
>
> ADOConnection1->Connected = true;
> ADOTable1->Open();
> ADOTable2->Open();
>
> if ( ADOTable1->Active )
> {
> ADOTable1->...do something ...
> // Cannot perform this operation on a closed dataset ???!!!
> }
>
> That means ADOTable1 *is* active but system thinks it's closed!
> When 'Active' is set at design-time everything went OK. Why?
>
>
>
>
> Best regards,
> Vladimir Stefanovic
>
>
Technical Details
Message-ID:
<421af018@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!feeder2.on.meganewsservers.com!meganewsservers.com!textfeed1.on.meganewsservers.com!38.119.100.83.MISMATCH!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<42151246@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,3533bda5a428c942 X-Google-Attributes: gid10698b,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Jochen Reichenberg" <jochen@jreichenberg.com> Newsgroups: borland.public.cppbuilder.database.ado References: <42151246@newsgroups.borland.com> Subject: Re: Cannot perform this operation on a closed dataset ?! Date: Tue, 22 Feb 2005 09:40:58 +0100 Lines: 37 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 NNTP-Posting-Host: 80.133.116.40 Message-ID: <421af018@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1109061656 80.133.116.40 (22 Feb 2005 00:40:56 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!feeder2.on.meganewsservers.com!meganewsservers.com!textfeed1.on.meganewsservers.com!38.119.100.83.MISMATCH!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail