When we run a update query we get prompt saying that 'these many records are going to be updated. do you want to continue' is it possible to capture the value in the prompt message to a variable i.e the number of records going to be updated.
If you run the query from code, you can use the records affected property:
Dim db As Database Set db=CurrentDB db.Execute "Some SQL here" db.RecordsAffected
If you use a transaction, you can rollback.
2.1m questions
2.1m answers
60 comments
57.0k users