🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Time to open TTable

#564
From: Howard Lee Harkness
Date: Fri, 10 Aug 2001 00:09
25 lines
2173 bytes
patrick martin <patrickmmartin@freenet.co.uk> wrote:

>E.g. for the Access ODBC driver, I found TTable would often hang
>completely getting the fields in a table.
>TQuery could do this with a "select * from [Table1]" and was not
>noticeably slower with no loss in functionality.

I've got a really weird problem with TQuery.  I had a working program
which used TTables, and was a bit slow.  So I put a TQuery in place of
the slowest table.  Sure enough, that sped it up a bunch.

But now the program doesn't work.  I cannot get a DBEdit control to
save it's contents back to the database.  Nor can I get any other
data-aware control to work.  I found and corrected a number of errors,
but I haven't found the magic words.

Yes, I have "RequestLive==true".  I tried putting an implicit
StartTransaction on the opening of the form, and a button to Commit.
No joy.  I thought that a TQuery could be used roughly the same way as
a TTable wrt data-aware components.

Could somebody send me a clue?

Spam Me and Get Sued <harkness@suespammers.org>
see www.suespammers.org for details & free spam-nuking email account
Technical Details
Message-ID: <e696ntomanipk4oi4surrjo1j81jsrkime@4ax.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!isdnet!newsfeed.wirehub.nl!btnet-peer!btnet!newsfeed.bt.es!195.5.65.34.MISMATCH!caladan.arrakis.es!dnews
References: <h2n65t43f0hk3svu8lp2v4j31nkk8bjjrs@4ax.com> <3A53B9CD.4D9FA179@freenet.co.uk> <mf395tcc6pjv22kom13vh70ms90ivnu7ti@4ax.com> <3A54A62B.28F98F65@freenet.co.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fcd2b,f125cee301e69e65,start
X-Google-Attributes: gidfcd2b,public
X-Google-ArrivalTime: 2001-08-09 19:17:35 PST
From: Howard Lee Harkness <harkness@suespammers.org>
Newsgroups: borland.public.cppbuilder.database.multi-tier
Subject: Re: Time to open TTable
Date: Thu, 09 Aug 2001 19:09:01 -0500
Organization: YGBSM!
Message-ID: <e696ntomanipk4oi4surrjo1j81jsrkime@4ax.com>
References: <h2n65t43f0hk3svu8lp2v4j31nkk8bjjrs@4ax.com> <3A53B9CD.4D9FA179@freenet.co.uk> <mf395tcc6pjv22kom13vh70ms90ivnu7ti@4ax.com> <3A54A62B.28F98F65@freenet.co.uk>
X-Newsreader: Forte Agent 1.8/32.548
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 64.167.201.226
X-Trace: dnews 997409707 64.167.201.226 (9 Aug 2001 19:15:07 -0700)
Lines: 25
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!isdnet!newsfeed.wirehub.nl!btnet-peer!btnet!newsfeed.bt.es!195.5.65.34.MISMATCH!caladan.arrakis.es!dnews