Page 1 of 1

RowsAffected always 0

Posted: 14.05.2013, 17:04
by BadenPower
Hallo everybody,

I'm using ZeosDbo 7.0.3 (and 6.6.6 on a secound system) with MySql and MariaDb.

I need to know the number of affected rows after using ZTable.Post-function, but ZTable.RowsAffected ist always 0.

The ZTable is connected with a ZUpdateSql to do some work before post.

How do I get the right value?
Is there a workaround?


best regards

Posted: 15.05.2013, 10:11
by marsupilami
Hello BadenPower,

normally a post should always only update one row as only one row can be manipulated per DataSet? I doubt that a ZTable or ZQuery can get any information from a ZUpdateSQL on how many records were affected?
Best reagards,

Jan