 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Avert Guest
|
Posted: Tue Apr 27, 2004 8:07 pm Post subject: tBatchMove and batAppendUpdate |
|
|
Hi--
I've had this code running in my app for ever (D6, BDE 5.xx, Paradox tables)
BUT have never had to figure it out until now.
I use a TBatchMove component to update a table.
I'm using TBatchMove.Mode := batAppendUpdate.
What is the definition of "If a matching record exists.." does this mean
everyfield in the record is the same?
Every Key has to be the same (I have several keys defined)?
Or just a matching primary key (the rest of the keys / fields can be
different BUT the record is updated on a matching primary key)?
Or none of the above, it's somehow else defined?
Thanks!
--
Kelly
|
|
| Back to top |
|
 |
Bill Todd (TeamB) Guest
|
Posted: Tue Apr 27, 2004 8:31 pm Post subject: Re: tBatchMove and batAppendUpdate |
|
|
On Tue, 27 Apr 2004 14:07:37 -0600, "Avert" <avert (AT) telusplanet (DOT) net>
wrote:
| Quote: | What is the definition of "If a matching record exists.." does this mean
everyfield in the record is the same?
|
If the primary key value(s) are the same.
--
Bill (TeamB)
(TeamB cannot respond to questions received via email)
|
|
| Back to top |
|
 |
Avert Guest
|
Posted: Tue Apr 27, 2004 9:55 pm Post subject: Re: tBatchMove and batAppendUpdate |
|
|
Bill--
Thanks for the quick response.
Primary key only... that explains why the move occurred like it did then.
Regards,
Kelly
"Bill Todd (TeamB)" <no (AT) no (DOT) com> wrote
| Quote: | On Tue, 27 Apr 2004 14:07:37 -0600, "Avert"
wrote:
What is the definition of "If a matching record exists.." does this mean
everyfield in the record is the same?
If the primary key value(s) are the same.
--
Bill (TeamB)
(TeamB cannot respond to questions received via email)
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|