🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: ADO Dataset Closing problem

#3411
From: Daniel Huang
Date: Tue, 17 Sep 2002 00:53
30 lines
1958 bytes
when I used BCB 5, I encountered the same problem. try below.

try { close_method; }catch(...){}

It works fine.


"Derek Drury" <derek.drury@co-op.co.uk> wrote in message
news:3d85f8ed$1@newsgroups.borland.com...
>
> Connecting to SQL 7.0 Server with ADO components from ADOExpress. Client
is Win.98 with MDAC 2.6 installed.
>
> No problems in the development rig but as soon as we move to a distributed
application we get a problem with closing datasets.
>
> If the dataset is at EOF we get an EOLEDatabase error - BOF or EOF reached
or current record has been deleted.
>
> This can be overcome by moving the cursor to the first record, however, on
an empty dataset we can't close the dataset !!!
>
> All other functionality seems to be OK - can't duplicate error where
Borland Builder loaded i.e. development rig.
>
> Anyone any ideas ?
>
> Thanks
>
> Derek
Technical Details
Message-ID: <3d867d00@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-01!sn-xit-04!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!lnewspeer00.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3d85f8ed$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,6a612f20b58e58b1
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2002-09-16 19:14:49 PST
Reply-To: "Daniel Huang" <daniel.huang@hosplink.com>
From: "Daniel Huang" <daniel.huang@hosplink.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3d85f8ed$1@newsgroups.borland.com>
Subject: Re: ADO Dataset Closing problem
Date: Tue, 17 Sep 2002 08:53:14 +0800
Lines: 32
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
NNTP-Posting-Host: 202.105.32.129
Message-ID: <3d867d00@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1032224000 202.105.32.129 (16 Sep 2002 17:53:20 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-01!sn-xit-04!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!lnewspeer00.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail