W
WildlyHarry
I have a built a database with a front end and back end application. The
front end allows the user to input/manipulate data on the back end so that
all users are working from the same record. On a quarterly basis, the users
are required to purge the database and start fresh. I have the code written
to build some back up tables and structures to allow for the import of new
data, and it almost works fine (see below).
DoCmd.OutputTo acOutputTable, "Authorities", acFormatXLS, "Authorities.xls",
True
DoCmd.CopyObject , "Authorities Backup", acTable, "Authorities"
DoCmd.CopyObject , "Authorities", acTable, "Authorities Structure"
When I run this code in the Front End it creates the blank "Authorities"
table that I am looking for. But it does not make any changes to the back
end tables, which is what I am trying to accomplish. Should I put this code
on the back end? Or is there a way that I can have the front end make the
changes I need to the back end? Thank you in advance for any help that you
can provide.
front end allows the user to input/manipulate data on the back end so that
all users are working from the same record. On a quarterly basis, the users
are required to purge the database and start fresh. I have the code written
to build some back up tables and structures to allow for the import of new
data, and it almost works fine (see below).
DoCmd.OutputTo acOutputTable, "Authorities", acFormatXLS, "Authorities.xls",
True
DoCmd.CopyObject , "Authorities Backup", acTable, "Authorities"
DoCmd.CopyObject , "Authorities", acTable, "Authorities Structure"
When I run this code in the Front End it creates the blank "Authorities"
table that I am looking for. But it does not make any changes to the back
end tables, which is what I am trying to accomplish. Should I put this code
on the back end? Or is there a way that I can have the front end make the
changes I need to the back end? Thank you in advance for any help that you
can provide.