Hey all,
As part of an access application, I am importing data from an XML file into a table, then using an update query to process the imported data into various other tables in the database where it belongs. I have the queries running fine, but I cannot for the life of me find out how to, from a VB code perspective, get the number of records that will be updated (or were updated) by a query.
I'm trying to make something similar to the default Access warning message box that says "You are about to update XX record(s)", except a custom message that more closely reflects what the user is actually trying to do when the query is executed.
The closest I've got it using an SQL Count() function in a SELECT query based on the update query I have just run, but it seems a bit of a long way of going about it.
Any help appreciated.