A
Antonio
I have a table that I contains imported data from a text file that is linked
to the database. I need to automate the upload process so that 38 people in
the office can do the upload on their scheduled weekend. The problem I am
running into is no check that prevents the upload of the same days data more
than once. Example
Txt File @ 10:00 AM contains:
07/17/05 M0009999 Joe Smith 2nd Floor
07/17/05 M0008888 Sally Doe 3rd Floor
07/17/05 M0007777 John Doe Basement
At 03:30 PM the text file contains:
07/17/05 M0009999 Joe Smith 2nd Floor
07/17/05 M0008888 Sally Doe 3rd Floor
07/17/05 M0007777 John Doe Basement
07/17/05 M0006666 Betty Smith Rooftop
Is there a way to set the primary key as the Date and "M000####" Id so that
at 4 pm when the upload is re re run, it only uploads the record for "Betty
Smith"? At the same time, when Joe Smith turns up on the 7/18/05 list, his
data is allowed to be appended into the table because the date is not the
same as the 7/17/05 record?
to the database. I need to automate the upload process so that 38 people in
the office can do the upload on their scheduled weekend. The problem I am
running into is no check that prevents the upload of the same days data more
than once. Example
Txt File @ 10:00 AM contains:
07/17/05 M0009999 Joe Smith 2nd Floor
07/17/05 M0008888 Sally Doe 3rd Floor
07/17/05 M0007777 John Doe Basement
At 03:30 PM the text file contains:
07/17/05 M0009999 Joe Smith 2nd Floor
07/17/05 M0008888 Sally Doe 3rd Floor
07/17/05 M0007777 John Doe Basement
07/17/05 M0006666 Betty Smith Rooftop
Is there a way to set the primary key as the Date and "M000####" Id so that
at 4 pm when the upload is re re run, it only uploads the record for "Betty
Smith"? At the same time, when Joe Smith turns up on the 7/18/05 list, his
data is allowed to be appended into the table because the date is not the
same as the 7/17/05 record?