How to tell if update was sucessful

Hi All


Ive been doing this (see pic) to determine whether an Update query was successfully executed but then I realized the code is meaningless because all it tell is if the code ran and not if an actually update occurred.

Whats a better way, anyone?

Thanks in advance

How does that answer the question?

What am I missing


My fault. I have read wrong. Sorry