🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Time to open TTable

#476
From: Mark Cashman
Date: Wed, 15 Aug 2001 11:12
18 lines
1913 bytes
Hi, Howard!

Make sure you have CachedUpdates = true, and in the AfterPost event do
ApplyUpdates() and CommitUpdates().

I have found that works well. In theory, you only need to call
CommitUpdates() when the program terminates, but if you do things that
way, you need to make sure that it will be called even when there is an
error.

------
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: <3B7A5939.91D95B8B@temporaldoorway.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.wirehub.nl!news.stealth.net!130.94.89.10.MISMATCH!news-out.spamkiller.net!propagator-la!news-in.superfeed.net!caladan.arrakis.es!dnews
References: <h2n65t43f0hk3svu8lp2v4j31nkk8bjjrs@4ax.com> <3A53B9CD.4D9FA179@freenet.co.uk> <mf395tcc6pjv22kom13vh70ms90ivnu7ti@4ax.com> <3A54A62B.28F98F65@freenet.co.uk> <e696ntomanipk4oi4surrjo1j81jsrkime@4ax.com> <3B73C59F.2A438336@temporaldoorway.com> <6p38nt4tc31scf3m8ufsl5pd0nuhv7lp2g@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fcd2b,f125cee301e69e65
X-Google-Attributes: gidfcd2b,public
X-Google-ArrivalTime: 2001-08-15 04:17:01 PST
Message-ID: <3B7A5939.91D95B8B@temporaldoorway.com>
Date: Wed, 15 Aug 2001 07:12:58 -0400
From: Mark Cashman <mcashman@temporaldoorway.com>
Reply-To: mcashman@temporaldoorway.com
X-Mailer: Mozilla 4.77 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.database.multi-tier
Subject: Re: Time to open TTable
References: <h2n65t43f0hk3svu8lp2v4j31nkk8bjjrs@4ax.com> <3A53B9CD.4D9FA179@freenet.co.uk> <mf395tcc6pjv22kom13vh70ms90ivnu7ti@4ax.com> <3A54A62B.28F98F65@freenet.co.uk> <e696ntomanipk4oi4surrjo1j81jsrkime@4ax.com> <3B73C59F.2A438336@temporaldoorway.com> <6p38nt4tc31scf3m8ufsl5pd0nuhv7lp2g@4ax.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 24.14.197.193
X-Trace: dnews 997874048 24.14.197.193 (15 Aug 2001 04:14:08 -0700)
Lines: 20
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.wirehub.nl!news.stealth.net!130.94.89.10.MISMATCH!news-out.spamkiller.net!propagator-la!news-in.superfeed.net!caladan.arrakis.es!dnews