RowsAffected always 0

The stable tester's forum for ZeosLib 7.0.x series

Report problems concerning our Delphi 2009+ version and new Zeoslib 7.0 features here.
Post Reply
BadenPower
Fresh Boarder
Fresh Boarder
Posts: 1
Joined: 14.05.2013, 13:51

RowsAffected always 0

Post 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
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1935
Joined: 17.01.2011, 14:17

Post 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
Post Reply