B4J Question ExecuteNonQuery and recordCount

wl

Well-Known Member
Licensed User
Longtime User
Hi,

If I'm not mistaken in java the ExecuteNonQuery statement returns the number of rows affected, which could be helpful in determining whether an additional operation is needed (eg: try an update and when the recordcount returns 0 we try an insert).

It seems this returnvalue is ommitted in B4J. Is there any specific reason to do so, or is there another way in determining the number of records affected ?

Thanks
 

OliverA

Expert
Licensed User
Longtime User
Upvote 0
Top