🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Please help me !!

#5363
From: Rick Golden
Date: Mon, 11 Jun 2001 18:35
28 lines
1729 bytes
try to add an extra \ in the directory path...

note two \
C:\\BIBLIO.MDB


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: <3b250f40_2@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!newsfeed1.uni2.dk!newssuck.uni2.dk!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 11:43:08 PST
Reply-To: "Rick Golden" <GoldenRick@hotmail.com>
From: "Rick Golden" <GoldenRick@hotmail.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3b234d59$1_2@dnews>
Subject: Re: Please help me !!
Date: Mon, 11 Jun 2001 14:35:49 -0400
Lines: 30
Organization: Gold
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
NNTP-Posting-Host: 198.168.250.105
Message-ID: <3b250f40_2@dnews>
X-Trace: dnews 992284480 198.168.250.105 (11 Jun 2001 11:34:40 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!newsfeed1.uni2.dk!newssuck.uni2.dk!dnews