Accessosaurusrex
Registered User.
- Local time
- Today, 10:29
- Joined
- Oct 18, 2010
- Messages
- 28
I have three devices which will upload data to a single CSV file each day. I have a database (Access 2003) to track and sort the data once it performs a transfer text macro from the CSV file to the database main table. I would like to purge the original data automatically from the CSV file after Access reads it if that is possible. The devices only allow me to append or overwrite the data in the CSV file. I am looking for any suggestions to overcome this. Is there a function in Access that allows me to purge the file when Access reads it or can I create a function elsewhere to do this?
Additionally, there is a small potential for duplicate input on the devices. I would like to prevent exact record duplication entry, but again, the data source is being read from a CSV file. Is there a way to have Access read the CSV file and either prevent the duplicate entries from being entered to the main table or placing the duplicate entries in an error table?
Thanks for your help in advance. I am just setting this system up so if you have a better idea how to accomplish this, I am all ears (or eyes).
Additionally, there is a small potential for duplicate input on the devices. I would like to prevent exact record duplication entry, but again, the data source is being read from a CSV file. Is there a way to have Access read the CSV file and either prevent the duplicate entries from being entered to the main table or placing the duplicate entries in an error table?
Thanks for your help in advance. I am just setting this system up so if you have a better idea how to accomplish this, I am all ears (or eyes).