🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.multi-tier
Article #1309

TClientDataSet and CanModify property

#1309
From: Juan Diego Garcés
Date: Fri, 04 Feb 2000 00:00
20 lines
1143 bytes
I make a copy of a Query into a TClientDataSet.  The Query is:

SELECT DISTINCT NAME, BITS FROM SYNOPTAGS

When I try to edit the data in the TClientDataSet, there is always an
exception:

THE TABLE IS NOT IN EDIT MODE

I use the Edit method and FieldValues property of the TClientDataSet to
edit.

When I saw the CanModify property of the TClientDataSet it is FALSE, in
fact this property changes when I make the copy from the Query.

What can I do to avoid the TClientDataSet gets the Query CanModify
property value?

Juan Diego Garc�s
Schneider Electric Suisse
Technical Details
Message-ID: <389AC028.9C81FC67@bluemail.ch>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: fcd2b,54055943b3bf078f,start
X-Google-Attributes: gidfcd2b,public
From: Juan Diego Garcés <daes_ch.jdg@bluemail.ch>
Subject: TClientDataSet and CanModify property
Date: 2000/02/04
Message-ID: <389AC028.9C81FC67@bluemail.ch>
X-Deja-AN: 581484486
Content-Transfer-Encoding: 8bit
Organization: Another Netscape Collabra Server User
X-Accept-Language: en
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0
Newsgroups: borland.public.cppbuilder.database.multi-tier