Duplicate records

M

Martin

Hello, I currently import a text file into my database as
a table "tblMain" what I have in this table are the
following fields; "ID" "LastName" "FirstName" "Absences"
and "Date". The problem I am having is that I have the
names of employees who have been absent more than one time
show up in multiple records, unfortunately this text file
gets emailed to me on a monthly basis. Is there a way I
can eliminate these duplicate records and streamline it
into a table where I only see one record per person but I
see how many absences they have and on what dates they
were absent?

Your help is appreciated,
Martin
 
J

Jeff Boyce

Martin

If your import file contains "Absences" (plural, so I assume this is a
number), and "Date" (I assume this is a single date), I don't see how you
could end up with what you asked for, "how many absences they have and on
what dates they were absent".

You didn't indicate if the "ID" field is unique to the source system, or is
a unique ID for the individual. That is, could "Smith, John" get imported,
over time, with more than one ID?

You are using a field named "Date" -- this is a reserved word in Access, and
will cause both you and Access to have severe headaches trying to figure out
whether you are referring to the Date() function or ...?

More info, please...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top