🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Delete problem

#3570
From: Leen
Date: Thu, 11 Jul 2002 09:52
25 lines
1477 bytes
Hey,

I would like to delete a record from an ADODataSet.
This is what I did:

ADODataSet -> Delete();
ADODataSet -> Post();

But I get the following error when running:
DataSet is not in edit or insert mode.

What should I do to delete a record?

Thanks in advance for your help!

--
Mvg/With Regards
Leen Van Haecke
IT-engineer
Entropia Networks NV
Kanaalstraat 1A
B-8020 OOSTKAMP
Tel: +32 (0)50 39 39 00
Fax: +32 (0)50 39 38 37
Http://www.entropia.be
Technical Details
Message-ID: <3d2d553e_2@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-08!supernews.com!12.120.28.37.MISMATCH!attla2!ip.att.net!usc.edu!howland.erols.net!news.maxwell.syr.edu!fr.usenet-edu.net!usenet-edu.net!oleane.net!oleane!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,ee865dc64e9a74e5,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2002-07-11 03:16:25 PST
Reply-To: "Leen" <Leen.VanHaecke@entropia.be>
From: "Leen" <Leen.VanHaecke@entropia.be>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Delete problem
Date: Thu, 11 Jul 2002 11:52:24 +0200
Lines: 27
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 212.100.179.241
Message-ID: <3d2d553e_2@dnews>
X-Trace: dnews 1026381118 212.100.179.241 (11 Jul 2002 02:51:58 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-08!supernews.com!12.120.28.37.MISMATCH!attla2!ip.att.net!usc.edu!howland.erols.net!news.maxwell.syr.edu!fr.usenet-edu.net!usenet-edu.net!oleane.net!oleane!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnews