Link to home
Start Free TrialLog in
Avatar of johnnyg123
johnnyg123Flag for United States of America

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?

ASKER CERTIFIED SOLUTION
Avatar of Rey Obrero (Capricorn1)
Rey Obrero (Capricorn1)
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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