Hi, I have two places (A and B) that will use the same database (same application).
On a regular basis, let's say place B will send data from all their tables they have at that time to place A for consolidation purposes into A's database. How to do this in VBA code?
I want to create a form for place B with a command button to do the "export" data function in Access. When the command button is clicked, then data in all tables will be exported, let's say into filename.txt. Then place B will e-mail filename.txt to place A for consolidation.
The same for place A, there is a form with a command button to import all data from filename.txt into the same field names under same table names of the database. I reckon that primary key (if using autonumber) might create problem due to duplication in this case.
Can anyone help me in this case? Or probably suggest a simpler solution? Thanks.
Regards,
Sandra
On a regular basis, let's say place B will send data from all their tables they have at that time to place A for consolidation purposes into A's database. How to do this in VBA code?
I want to create a form for place B with a command button to do the "export" data function in Access. When the command button is clicked, then data in all tables will be exported, let's say into filename.txt. Then place B will e-mail filename.txt to place A for consolidation.
The same for place A, there is a form with a command button to import all data from filename.txt into the same field names under same table names of the database. I reckon that primary key (if using autonumber) might create problem due to duplication in this case.
Can anyone help me in this case? Or probably suggest a simpler solution? Thanks.
Regards,
Sandra