johnnyg123
asked on
Capture number of records impacted by access action query
I have an access 2003 application that has over 100 queries
at the request of the user I have turned off the query notification messages
but I would still like to display a message if one of the insert or update queries has zero rows
is it possible to capture the number of records impacted by a query in access vba?
at the request of the user I have turned off the query notification messages
but I would still like to display a message if one of the insert or update queries has zero rows
is it possible to capture the number of records impacted by a query in access vba?
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
You could just run a select query on a numberic field first - then if the value of "Count" on any numberic field =0 pop up a message box, then run the update or append query as you normally would - You could do it with VBA code by try running it in a macro first until you know you are working, then convert the queries and mactros to VBA code