Hi folks,
Seeking your legendary help again.
This time I'm trying to migrate data from a Microsoft Access Database to PostgreSQL.
But here's the caveats;
- I want the workflow / macro to create the tables in the first instance,
- After all the tables are created and their data migrated, only certain tables will need to be updated from then on, so I need to tell the workflow which ones they are,
- I need to specify the schema manually – I have a text input for this,
- The macro needs to work with multiple databases with similar structures.
I started by creating a workflow that did this manually but as this is a process we want to repeat, I want a macro to do the heavy lifting.

This isn't very efficient.
Trouble is, I'm not all that familiar with building macros so I'm having trouble getting this to work. I've also tried looking for info on this but haven't found the result I'm trying to achieve.
To determine which tables are to be updated, I've created a query that extracts the table names from the MSysObjects table and outputs a list for the macro to consume.
Unfortunately, I cannot share the workflow or macro with you but I've created a diagram (yes, it's in PowerPoint) which hopefully explains what I'm trying to achieve here.
My first attempts creating this macro kinda worked in that it created the tables but it just put the same data in all of them.
I tried using a dynamic input tool to get around this but now it just won't work at all.
I'd greatly appreciate the help.

Kind regards,
Amanda