🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Performance problems when insertings data in a Access-DB

#2062
From: Palmetzhofer Dietmar
Date: Sat, 29 Nov 2003 14:08
13 lines
1542 bytes
I have to insert (or update) lots of datasets in a Access-2000 DB, and this
takes a LOT of time. I am doing this by using
TTable1->Append();
// set the fieldvalues
TTable1->Post();
in a loop. Does anyone know if there is a possibility to use a batch-job for
this (i.e. inserting the records in a buffer and posting them in one step)?

Can somebody explain to me, what the different Execute-Options mean? The
explanation in the helpfile is not very helpfull for me ...

Thank,
Didi
Technical Details
Message-ID: <3fc8a70e@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,debaddcdb1259366,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2003-11-29 06:08:56 PST
Reply-To: "Palmetzhofer Dietmar" <dietmar.palmetzhofer@boku.ac.at>
From: "Palmetzhofer Dietmar" <dietmar.palmetzhofer@boku.ac.at>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Performance problems when insertings data in a Access-DB
Date: Sat, 29 Nov 2003 15:08:43 +0100
Lines: 15
Organization: Univ. f. Bodenkultur
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
NNTP-Posting-Host: 62.46.233.60
Message-ID: <3fc8a70e@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1070114574 62.46.233.60 (29 Nov 2003 06:02:54 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail