Page 4 of 4

Posted: 14.11.2012, 22:34
by EgonHugeist
DoctorRoot,

uh it seems you misunderstoud me terrible wrong. You are udating the same columns with equal values or you do not have a primary key. The sleep should only show you that updating different values will ve accpted.

However their is an option to turn off this validation. Have a look to:

http://zeos.firmos.at/viewtopic.php?p=16546#16546

also please switch to the new \testing-branch the old \testing-egonhugeist branch won't be maintained any more.

NEW url for downloads: http://svn.code.sf.net/p/zeoslib/code-0 ... es/testing

Posted: 15.11.2012, 19:16
by DoctorZLO
Indicated for a component the Properties property ValidateUpdateCount FALSE zTable and error is gone! Uninstalled components, removed the line {$ DEFINE WITH_VALIDATE_UPDATE_COUNT} in file Zeos.inc put the component again and now everything works ... Why did you not tell me that it was possible to do? :) Long ago the topic was closed...

Thank you for helping!

Posted: 15.11.2012, 19:49
by EgonHugeist
EgonHugeist,

because i didn't realize this option by my selves for a long times??!. :oops: I'm sorry for that.. :roll:

Posted: 16.11.2012, 05:12
by DoctorZLO
EgonHugeist wrote:EgonHugeist,

because i didn't realize this option by my selves for a long times??!. :oops: I'm sorry for that.. :roll:
And what for this option? Then others will speak that the component works not properly...

Posted: 16.11.2012, 20:12
by EgonHugeist
DoctorZLO,

the component works perfectly! Even more if such an exception is raised it's a warning to you for a not real good database architecture. You do not have primary keys or unique indices neither. And a lot of values a written certain times in to the same table. Think about it: Is that really wanted?

But it's not on me to say you are wrong. All i can do is to point you to the possibility to switch of this validation.

Posted: 19.11.2012, 03:46
by DoctorZLO
Well... Let will be so...