Look into the UDF section for the DB* UDFs, they allow you to connect to a database and use pure SQL for updates. I used them to import about 15.000 events into a SQL Server database without any problems. Microsoft Access should be able to handle your script, too. Anyway, the problem is not the Access part but the enumeration in your scripts, they return different results (at least on my computer after removing the .INI file code and the DB code).
_________________________
There are two types of vessels, submarines and targets.