I've got an MS Access application to which I've added some auditing procedures, and password protected the Back End database (also MS Access) so that users cannot get to the data without going through the Front End. However, some of the users want to be able to take copies of the data out into the field with them on laptops, or be able to write their own reports. Easiest idea I came up with was to give them a button in the FE database to export all the tables from the BE, (except the user control table and auditing table) to a read only database with no password protection on it so they can write their own reports without bugging me for them, but without damaging the integrity of the data in the main database.
I tried using the DoCmd.TransferDatabase method, but this requires the destination database already exists, and also only puts the link in rather than copying the data.
Any ideas? This is what I've done, I created a blank dummy destination table, then ran the code below.
I tried using the DoCmd.TransferDatabase method, but this requires the destination database already exists, and also only puts the link in rather than copying the data.
Any ideas? This is what I've done, I created a blank dummy destination table, then ran the code below.
Code:
Private Sub cmd_export_Click()
DoCmd.TransferDatabase acExport, "Microsoft Access", "C:\Workfiles\test\tester.mdb", acTable, "tblAppointSchedule", "tblAppointSchedule"
End Sub