Article View: borland.public.cppbuilder.database.multi-tier
Article #856Re: Updating a Recordset
From: Mike
Date: Mon, 29 Jan 2001 20:07
Date: Mon, 29 Jan 2001 20:07
18 lines
2150 bytes
2150 bytes
"Mike" <mike.powell@transcore.com> wrote: I think I have narrowed down the "problem" to TClientDataSet's inability to become aware of the server side schema (e.g. table defs, referential and check constraints, etc). I seem to remember there being a post or three on the topic of ensuring that the client does become aware of the schema information. Where is this post or where are the resources to achieve this measure? Thanks in advance. > >Ok, I need to backup a step or two. > >I am trying to make changes to a record set in a multitier database configuration. The changes seem to post on the first time out, but subsequent attempts fail with "ClientDataSet: Must apply updates before refreshing data." It doesn't matter what I do, the changes seem to get stuck in the client data set. > >My environment is Windows 2000, InterBase 6.0, C++Builder Enterprise. I am using the typical 3-tier configuration with an IBTransaction, IBDatabase, IBUpdateSQL, IBQuery, and IBDataSetProvider in the middle tier. The client uses a SocketConnection, a ClientDataSet, and a DataSource. I am feeding a simple DBGrid in conjunction with a DBNavigator. > >I have a sample project setup with both client and server if someone would care to take a look. I'd greatly appreciate it. Thanks. >
Technical Details
Message-ID:
<3a75cd83$1_2@dnews>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-04!supernews.com!newsfeed.mesh.ad.jp!news-out.nuthinbutnews.com!propagator!feed2.newsfeeds.com!newsfeeds.com!news.bnb-lp.com!bornews.borland.com!dnews!207.105.83.65References:
<3a6db252$1_1@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcd2b,48f222a4e60f3490 X-Google-Attributes: gidfcd2b,public X-Google-ArrivalTime: 2001-01-29 12:11:38 PST From: "Mike" <mike.powell@transcore.com> Sender: "Mike" <mike.powell@transcore.com> Reply-To: "Mike" <mike.powell@transcore.com> Subject: Re: Updating a Recordset Newsgroups: borland.public.cppbuilder.database.multi-tier X-User-Info: 198.59.170.33 198.59.170.33 References: <3a6db252$1_1@dnews> NNTP-Posting-Host: 207.105.83.65 Message-ID: <3a75cd83$1_2@dnews> Date: 29 Jan 2001 12:07:31 -0800 X-Trace: 29 Jan 2001 12:07:31 -0800, 207.105.83.65 Lines: 19 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-04!supernews.com!newsfeed.mesh.ad.jp!news-out.nuthinbutnews.com!propagator!feed2.newsfeeds.com!newsfeeds.com!news.bnb-lp.com!bornews.borland.com!dnews!207.105.83.65