OK, so exporting from both the ERP and Excel file is fine. But actually, you may need need to do either.
You can connect your Access database to your SQL server, and link the table in to Access. Then you do not need to worry about exporting/importing it every time.
Likewise, if you are working with the same Excel file every time, you can link to that too, so you do not need to export/import.
If you get a new Excel file each time, you have a few options:
- Link the Excel table into Access. Then just "overwrite" your Excel file (so you are saving it with the same name in the same location each time). Then you should not have to mess with exporting/importing or changing the links (though you may need to "refresh" the connection).
You could also use a native Access table, and just delete the old data, and import the new data into it.
As long as you are using the same tables in your Access database each time (no need to re-create them each timel if not linked, simply delete the old data before importing the new), there is no need to delete the Query. Queries are dynamic, and run against whatever data is in the tables at that time. So once you create the queries, you should not have to ever delete or re-create them.
Since you are not actually wanting to update the data in the Access database, but really in the ERP database, you do not need to have it be an Update Query in Access. Make it a simple Select query (just change the query type from "Update" to "Select"). Then you just export the data you need from that query, and that is what you will import into your ERP database.