🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: problem of data lost

#5651
From: Mark Cashman
Date: Wed, 28 Mar 2001 03:19
18 lines
1675 bytes
This isn't really an ADO problem, but probably a logic problem. You need
to make sure you TTable or TQuery::Post() before terminating your
program - without Post(), changes and additions are not saved. If you
are using cached updates you need to ApplyUpdates() and CommitUpdates()
on your database object.

Try asking with more details including very stripped down code in
borland.public.cppbuilder.database.desktop unless you are using the ADO
components.

------
Mark Cashman (TeamB - C++ Builder), creator of The Temporal Doorway at
http://www.temporaldoorway.com
- Original digital art, writing, music and more -
C++ Builder / JBuilder Tips and The C++ Builder Programmer's Webring
(Join us!)
http://www.temporaldoorway.com/programming/index.htm
------
Technical Details
Message-ID: <3AC1585B.1DD5430C@temporaldoorway.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!zeus.visi.com!news-out.visi.com!hermes.visi.com!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnews!24.14.197.193
References: <3AC0B7C2.1FAD@tgv.edu.ups-tlse.fr>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,e450a9f1b93ee728
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2001-03-27 19:32:03 PST
Message-ID: <3AC1585B.1DD5430C@temporaldoorway.com>
Date: Tue, 27 Mar 2001 22:19:56 -0500
From: Mark Cashman <mcashman@temporaldoorway.com>
Reply-To: mcashman@temporaldoorway.com
X-Mailer: Mozilla 4.7 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Re: problem of data lost
References: <3AC0B7C2.1FAD@tgv.edu.ups-tlse.fr>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 24.14.197.193
X-Trace: 27 Mar 2001 19:19:07 -0800, 24.14.197.193
Lines: 20
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!zeus.visi.com!news-out.visi.com!hermes.visi.com!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnews!24.14.197.193