I tried that. Still ended up with duplicate patient records.
You might know if this is possible. I have did code a while back in a program that would look through the table and kick out duplicates. For example if you sort the query by client_id then program_seq. It would start at program_seq : 1 then look at the next record. If the client_id was = to the next record client_id it would then compare the 2 program_seq numbers and take the larger of the two. Once the next record client_id changed it kept the last record for the last client with the highest program_seq number. Anything like that possible in Access?
I just re created the new query and you are right. I must have missed something when i did it before. Thank you for your help.