BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

tBatchMove and batAppendUpdate

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Desktop)
View previous topic :: View next topic  
Author Message
Avert
Guest





PostPosted: Tue Apr 27, 2004 8:07 pm    Post subject: tBatchMove and batAppendUpdate Reply with quote



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





PostPosted: Tue Apr 27, 2004 8:31 pm    Post subject: Re: tBatchMove and batAppendUpdate Reply with quote



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





PostPosted: Tue Apr 27, 2004 9:55 pm    Post subject: Re: tBatchMove and batAppendUpdate Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Desktop) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.