Hello,
I posted something similar a few days ago - after trying some things i have found i am no further ahead. I am hoping someone out there has some fabtabulous advise for me
I have an automated import that imports data from a .csv file. Once it has been imported there is a batch file that then renames and moves that particular text file - so that it cannot be imported accidentally more than once into access. The problem is - the csv files come from a download off a handheld device - if the device is not cleared and they download again the process starts over so we can get the same data in Access accidently. I need to prevent that.
What happens now is - all the data is imported to a temp table and then an append query is run - the append query contains some functions that fill in missing data so basically the data gets cleaned up.
Is there an easy way to add an If statement before the append query is run: If fields 1,2,& 3 in tbl_Temp match fields 1,2,&3 anywhere within the last 100 records of tbl_Permanent then do not append?
Does that make sense??
Does anyone know how i can do this?
Thanks a million in advance.
T![[sadeyes] [sadeyes] [sadeyes]](/data/assets/smilies/sadeyes.gif)
I posted something similar a few days ago - after trying some things i have found i am no further ahead. I am hoping someone out there has some fabtabulous advise for me
I have an automated import that imports data from a .csv file. Once it has been imported there is a batch file that then renames and moves that particular text file - so that it cannot be imported accidentally more than once into access. The problem is - the csv files come from a download off a handheld device - if the device is not cleared and they download again the process starts over so we can get the same data in Access accidently. I need to prevent that.
What happens now is - all the data is imported to a temp table and then an append query is run - the append query contains some functions that fill in missing data so basically the data gets cleaned up.
Is there an easy way to add an If statement before the append query is run: If fields 1,2,& 3 in tbl_Temp match fields 1,2,&3 anywhere within the last 100 records of tbl_Permanent then do not append?
Does that make sense??
Does anyone know how i can do this?
Thanks a million in advance.
T
![[sadeyes] [sadeyes] [sadeyes]](/data/assets/smilies/sadeyes.gif)