Share via

Append Query no Duplicates problem

Anonymous
2017-01-23T09:58:49+00:00

Hi all

I have a table that I import from our MIS

The contents of the table is: students names, their ID, Registration, the subject they are studying and the class they are in.

I then run a query to append all the students into a table (tblStudent) and another one to append all the classes into another table (tblClass)

These would only get one instance of each Student in the tbls and the tblClass would only have once instance of the class. Therefore the query has a code to remove duplicates.

The issue however is,  if a student only appears once because they are only taking one subject, they don't get appended in the tblStudent or if a subject only has one student that class doesn't get appended

Please can you look at the query and advise so that it doesn't only append what was duplicated. Hope that makes sense

The Append query's source is another query which is

DupExtract query

and the APPEND query is

Thank you

Microsoft 365 and Office | Access | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Duane Hookom 26,825 Reputation points Volunteer Moderator
2017-01-23T11:47:21+00:00

Why do you have criteria of >1? What happens if you remove this?

Was this answer helpful?

2 people found this answer helpful.
0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2017-01-23T14:11:45+00:00

    Hi thanks for your reply

    Removed the >1 and it worked fine!

    No idea why it was there. I pinched it from another database! 

    Thank you

    J

    Was this answer helpful?

    0 comments No comments