🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

EOleException with JetProvider and AccessDB

#3581
From: Andre Hayward
Date: Sun, 14 Jul 2002 10:18
32 lines
1765 bytes
Hi,

I'm getting the following EOleException when connecting to an Access
database with the Jet Data Provider and the Shape Service Provider

'Either BOF or EOF is True, or the current record has been deleted.
Requested operation requires a current record'.

Three tables are linked: Company, Address and Person.  The CommandText
on the Company TADODataSet is:

SHAPE  {select * from company order by CompanyCode} 
APPEND ((

SHAPE {Select * from Address order by AddressCode} As ChapAddress
APPEND({select * from Person order by LastName} as ChapPerson
   RELATE AddressKey TO AddressKey))

   RELATE CompanyKey TO CompanyKey)

The ADODataSets for Address and Person are linked with the
DataSetFields property with the values obtained from the above SHAPE
command.

Using BCB5Ent with update#1 installed as well as ADOUpdate#1
installed.

 Any advise will be appreciated.

Thanks in advance.

Andre
Technical Details
Message-ID: <3d314740_2@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,c2bb810232012533,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2002-07-14 02:48:03 PST
From: jorhaypi@mweb.co.za (Andre Hayward)
Newsgroups: borland.public.cppbuilder.database.ado
Subject: EOleException with JetProvider and AccessDB
Date: Sun, 14 Jul 2002 10:18:10 GMT
Organization: Jordaan Hayward Inc.
X-Newsreader: Forte Free Agent 1.0.82
NNTP-Posting-Host: 196.31.186.236
Message-ID: <3d314740_2@dnews>
X-Trace: dnews 1026639680 196.31.186.236 (14 Jul 2002 02:41:20 -0700)
Lines: 35
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews