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 

little help with updatedatabase

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Model Driven Architecture (General)
View previous topic :: View next topic  
Author Message
Rodrigo Zabotto
Guest





PostPosted: Tue Aug 08, 2006 5:02 pm    Post subject: little help with updatedatabase Reply with quote



Dear Friends,

I have a routine that imports data from excell to bold.

The routine verifies if ID exists on database.

I use a EvaluateinPS listhandle to verify it -
'Myclass.allintances->select(ID = ''' + currentID + ''')' when currentID
has the actual register I am importing to.

But, if the excell sheet has a repeated register ID, the evalinps
doesn´t find the register saved before.
To solve it, I put an UpdateDatabase for each register I import.
It works, but I´m having a lot of deadlock problems with it (i don´t
know why) for exemple, on table Bold_id when it increase bold_id.

If I set evalinPS = false and use one updatedatabase in the routine´s
end it works fine (but my performance doesn´t).

Any clue to fix it?

Thanks for help.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Model Driven Architecture (General) 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.