 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Rodrigo Zabotto Guest
|
Posted: Tue Aug 08, 2006 5:02 pm Post subject: little help with updatedatabase |
|
|
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 |
|
 |
|
|
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
|
|