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.
1.4m articles
1.4m replys
5 comments
57.0k users