Article View: borland.public.cppbuilder.database.ado
Article #3009DeleteRecords
From: borut
Date: Thu, 23 Jan 2003 10:34
Date: Thu, 23 Jan 2003 10:34
12 lines
1279 bytes
1279 bytes
Hello!
ADO + MSSQL:
-ADOTable
1. CursorLocation = clUseServer;
2. TableDirect = true;
When i try to empty a table (on ActivateForm event) with
DeleteRecords(arAll) an error apears("Operation is not allowed in this
context"). What is wrong?
Borut
Technical Details
Message-ID:
<3e2fc431$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!fu-berlin.de!news.boerde.de!nntp.cs.uni-magdeburg.de!PeerFeed.KWeb.on.ca!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,c2a1fa91b74d98fe,start X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2003-01-23 02:34:34 PST Reply-To: "borut" <borut@bokosoft.si> From: "borut" <borut@bokosoft.si> Newsgroups: borland.public.cppbuilder.database.ado Subject: DeleteRecords Date: Thu, 23 Jan 2003 11:34:24 +0100 Lines: 14 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 NNTP-Posting-Host: 193.77.157.52 Message-ID: <3e2fc431$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1043317809 193.77.157.52 (23 Jan 2003 02:30:09 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!fu-berlin.de!news.boerde.de!nntp.cs.uni-magdeburg.de!PeerFeed.KWeb.on.ca!newsgroups.borland.com!not-for-mail