🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #5364

Re: Please help me !!

#5364
From: andy
Date: Tue, 12 Jun 2001 06:41
26 lines
1648 bytes
it's not working !
is there any help about _di__Recordset ?????


"andy" <Mihalik@novycas.sk> wrote in message news:3b234d59$1_2@dnews...
> Why this code is not working ?? I want to use recordset in ADO
>
> --------------------------------------------------------------------------
--
> ----------
>  _di__Recordset Record = CoRecordset::Create(NULL);
>
> Record->Open(Variant("SELECT * FROM authors"),
> Variant("Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=C:\BIBLIO.MDB;Persist
> Security Info=False"), ctKeyset,ltOptimistic,cmdText);
>
> ShowMessage("Record count = " + IntToStr(Record->AbsolutePosition));
> --------------------------------------------------------------------------
--
> ------------
> it sends me :
>
> "Operation is not allowed when the object is closed"
>
>
Technical Details
Message-ID: <3b25b95c_2@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews
References: <3b234d59$1_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,20f051037ca2e641
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2001-06-11 23:44:09 PST
From: "andy" <Mihalik@novycas.sk>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3b234d59$1_2@dnews>
Subject: Re: Please help me !!
Date: Tue, 12 Jun 2001 08:41:21 +0200
Lines: 28
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2462.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000
NNTP-Posting-Host: 212.5.212.217
Message-ID: <3b25b95c_2@dnews>
X-Trace: dnews 992328028 212.5.212.217 (11 Jun 2001 23:40:28 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews