My Acccess database is split into a codes-only front-end, and a data-only back-end. For use on a legacy dBase III+ program, I need to export a table in the back-end to a dBase III+ file.
I use the following code:
DoCmd.TransferDatabase acExport, “dBase III”, “Backend_Path:Backend.mdb”, acTable, “tblBackEnd”, “dB3_File.dbf”
I got the error message that “Backend_Path:Backend.mdb” was not a valid path. However, if the table was created in the front-end, and “Backend_Path:Backend.mdb” was replaced by “Frontend_Path:FrontEnd.mdb” or just the front-end path, DoCmd.TransferDatabase worked fine and the dBase file was correctly created. However, I would prefer the table stays in the back-end.
Does it mean that acExport in DoCmd.TransferDatabase works only with tables present in the front-end?
Please help.