I use access to run bulk updates on 2 dozen db4 databases. Each site has it's own version of the db4 datbase so I write queries that go through each set of databases and run the updates. (In other words it's the same query that runs against 2 dozen different databases- the only difference is the table names have the site number tagged to the end -Demographics036, Demographics143 etc)
I use a combination of queries/macros/vb code to do this.
I then run the queries/vb code/macro from a macro.
ie: MacroUpdateTableA will list the 2 dozen queries to update tableA, MacroUpdateTableB will hold all the info to start the vb code running, etc.
So each round of queries is bundled in a macro.
I then made a "Master macro" so that I would only have to click one button vs running each macro separately. So this macro calls up each of the bundled macros.
I thought this would work fine. However, I had people come to say that some information wasn't updated even though I ran the Master Macro each day. Sure enough when I checked I noticed that the data from a month ago was still blank.
When I reran the one specific macro the fields were updated properly....
It made me wonder if I've tried to do too much in the macros. Are there limits on macros and how much can be nested in them?
Thanks,
J
I use a combination of queries/macros/vb code to do this.
I then run the queries/vb code/macro from a macro.
ie: MacroUpdateTableA will list the 2 dozen queries to update tableA, MacroUpdateTableB will hold all the info to start the vb code running, etc.
So each round of queries is bundled in a macro.
I then made a "Master macro" so that I would only have to click one button vs running each macro separately. So this macro calls up each of the bundled macros.
I thought this would work fine. However, I had people come to say that some information wasn't updated even though I ran the Master Macro each day. Sure enough when I checked I noticed that the data from a month ago was still blank.
When I reran the one specific macro the fields were updated properly....
It made me wonder if I've tried to do too much in the macros. Are there limits on macros and how much can be nested in them?
Thanks,
J