Article View: borland.public.cppbuilder.database.ado
Article #2117Re: New problem with ADO & Access
From: Ted Byers
Date: Fri, 07 Nov 2003 12:56
Date: Fri, 07 Nov 2003 12:56
44 lines
2381 bytes
2381 bytes
Hi Vladimir,
"Vladimir Afanasyev" <avv@systema.kiev.ua> wrote in message
news:3fab6179$1@newsgroups.borland.com...
>
> Hi Ted,
>
> "Ted Byers" <r.ted.byers@sympatico.ca> wrote:
> >
> >Hi Vladimir,
> >
> >What about my guess is this function:
> >
> > void Disconnect(void) {
> > [snip]
> >Is it right or wrong to call close on catalog if it has already been
called
> >on connection?
>
> "Close" - is not property for Catalog object.
>
> By definition method Create (Catalog) - creates and opens new
> connection (ActiveConnection property). But not every provider
> support creating new Catalog. So it is possible to call Create
> for Catalog then test Errors collection (Error object from ADO)
> and if all good use ActiveConnection else to use Open method from
> Connection object.
>
> void Disconnect(void) {
> if (connected) {
> [snip]
> };
>
Thanks.
> By the way. Now I think about article for my site (automating
> for Microsoft Project). Can I ask you to read it and make your
> notes when it will be ready?
>
Yes, of course.
Thanks,
Ted
Technical Details
Message-ID:
<3fab9744$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3fa6811e$1@newsgroups.borland.com> <3fa77c01$1@newsgroups.borland.com> <3fa7ac8a$3@newsgroups.borland.com> <3fa7ea09$1@newsgroups.borland.com> <3fa7fe9b$1@newsgroups.borland.com> <3fa8e7b7$1@newsgroups.borland.com> <3fa960f8$1@newsgroups.borland.com> <3faa750f$1@newsgroups.borland.com> <3faa88cd$1@newsgroups.borland.com> <3fab6179$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,f2b48c4b0b8a3004 X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2003-11-07 05:09:36 PST From: "Ted Byers" <r.ted.byers@sympatico.ca> Newsgroups: borland.public.cppbuilder.database.ado References: <3fa6811e$1@newsgroups.borland.com> <3fa77c01$1@newsgroups.borland.com> <3fa7ac8a$3@newsgroups.borland.com> <3fa7ea09$1@newsgroups.borland.com> <3fa7fe9b$1@newsgroups.borland.com> <3fa8e7b7$1@newsgroups.borland.com> <3fa960f8$1@newsgroups.borland.com> <3faa750f$1@newsgroups.borland.com> <3faa88cd$1@newsgroups.borland.com> <3fab6179$1@newsgroups.borland.com> Subject: Re: New problem with ADO & Access Date: Fri, 7 Nov 2003 07:56:35 -0500 Lines: 46 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 65.95.127.243 Message-ID: <3fab9744$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1068209988 65.95.127.243 (7 Nov 2003 04:59:48 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail