πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: TClientDataSet and CanModify property

#1320
From: Harold Howe (TeamB)
Date: Mon, 14 Feb 2000 00:00
24 lines
1260 bytes
Juan Diego GarcοΏ½s wrote in message <389AC028.9C81FC67@bluemail.ch>...
>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.

What happens when you call the Edit method of TClientDataSet? Does this
generate an exception?

I tried to duplicate your problem. I set up a
TQuery-TDataSetProvider-TClientDataset connection. When I set the active
property of the clientdatset to true, I can edit the data without any
problems.

Harold Howe [TeamB]
http://www.bcbdev.com
Technical Details
Message-ID: <8897no$huh13@bornews.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <389AC028.9C81FC67@bluemail.ch>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: fcd2b,54055943b3bf078f
X-Google-Attributes: gidfcd2b,public
From: "Harold Howe (TeamB)" <hhowe@bcbdev.com>
Subject: Re: TClientDataSet and CanModify property
Date: 2000/02/14
Message-ID: <8897no$huh13@bornews.borland.com>
X-Deja-AN: 585773782
References: <389AC028.9C81FC67@bluemail.ch>
Organization: Another Netscape Collabra Server User
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Newsgroups: borland.public.cppbuilder.database.multi-tier