I’m sure this is really dumb, but I’m not certain and you’re experts, so here goes.
In my master list of individuals, I have levels of identification in descending order, of hamlet, group, household number, and index in house. I want to make sure that household number is unique within hamlet, but noticed on occasion that household numbering is duplicated within a hamlet, particularly where there are different groups. I have assigned unique property ID’s in the whole list, but the household number is important to people in the field, who can’t deal with propertyUID’s, so I want to get it right.
How can I pull out a query which will give me those household numbers which are duplicated within a hamlet, but exclude different members of the same family from this (so obviously index in house will have to be there somewhere).
I tried this:SELECT ListNameFullList.ID, …..etc …. FROM ListNameFullList INNER JOIN ListNameFullList AS ListNameFullList_1 ON ListNameFullList.Household = ListNameFullList_1.Household
WHERE (((ListNameFullList.ID)));
but I’m worried that it’s returned far fewer records than I’d expected.
My brain is now jelly trying to find alternative ways round what is conceptually a very simple problem. All help appreciated.
Thanks