I am new everyone! I am thankful to be here and i have already learned a lot.
My first question is which query function to use (maketable, updatetable, or append) to create a local table that will store all columns of data from a linked ODBC source? The table that i am trying to copy from the ODBC contains fields that are automatically deleted after 72 hours and i want to create a local table that will store data for 60 days and then delete data that is older than 60 days. I will be creating a macro attached to a button on my main form that I will run each day so that the local table can be updated. the macro will contain a "delete" query that will delete all fields that are older than 60 days.
2nd question.. Does anyone on here know how i can deploy a batch file that will copy the main database file to the user's desktop from a shared local network drive? I am sort of trying to create an "update-able" database in a sense. The .bat file will be an "installdb.bat" and i would like to have a .txt file that the batch file checks to see if it differs. If the txt file differs then the install.bat file would then copy the main database to the desktop again, overwriting the old file.
In this method above the .txt file would only be changed when a major change to the main database file has been made by the database admin. The database admin would then let all of the DB users know to run the installed.bat file again.
Thank you for any help that you can provide.