Article View: borland.public.cppbuilder.database.ado
Article #968Re: Cannot perform this operation on a closed dataset ?!
From: Viatcheslav V. Vassiliev
Date: Sat, 19 Feb 2005 14:36
Date: Sat, 19 Feb 2005 14:36
40 lines
2110 bytes
2110 bytes
Completely rebuild your project, not just recompile. This could help.
//------------------------------------------
Regards,
Vassiliev V. V.
http://www.managed-vcl.com - using .Net objects in Delphi for Win32 +
ADO.Net
http://www.oledbdirect.com - The fastest way to access MS SQL Server,
MS Jet (Access) and Interbase (through OLEDB)
"Vladimir Stefanovic" <antivari@po.sbb.co.yu> �������/�������� � ��������
���������: 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:
<42174eef$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!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 From: "Viatcheslav V. Vassiliev" <support@oledbdirect.com> Newsgroups: borland.public.cppbuilder.database.ado References: <42151246@newsgroups.borland.com> Subject: Re: Cannot perform this operation on a closed dataset ?! Date: Sat, 19 Feb 2005 17:36:30 +0300 Lines: 42 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 85.93.136.187 Message-ID: <42174eef$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1108823791 85.93.136.187 (19 Feb 2005 06:36:31 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail