OK, let me see if I can phrase this in an understandable manner. 
I am working on a membership database.
I have a table that contains a single record for each person, with a unique Individual ID.
Each person has a 'Family ID' - all people with the same ID are part of one family.
In each family, there can be up to two adults (Member and Spouse), and any number of children (let's say no more than 6 for now).
So, for example, I have the three families below:
What I need is to convert those seven records into three records, like so:
My first instinct is that I'd need to write a module to do this - a query/report is probably not going to do it. But I'm so rusty at VBA I'm not sure where to start.
I did manage to get the first four columns of my result, with a bunch of queries. But a variable number of children has me stuck.
Ideally, the resulting data would spin out to a text file, but a table is fine, if that's easier.
Any thoughts (other than "You've lost your mind" - I have that one already
)?
Thanks!

I am working on a membership database.
I have a table that contains a single record for each person, with a unique Individual ID.
Each person has a 'Family ID' - all people with the same ID are part of one family.
In each family, there can be up to two adults (Member and Spouse), and any number of children (let's say no more than 6 for now).
So, for example, I have the three families below:
Family ID | Individual ID | First Name | Last Name | Family Position |
ABC123 | 100001 | John | Doe | Member |
ABC123 | 100002 | Jane | Doe | Spouse |
ABC123 | 100003 | David | Doe | Child |
ABC123 | 100004 | Lucy | Doe | Child |
BCD234 | 100005 | Bill | Jones | Member |
CDE345 | 100006 | Kelsey | Smith | Member |
CDE345 | 100007 | Eva | Smith | Spouse |
What I need is to convert those seven records into three records, like so:
Family ID | Last Name | Adult 1 | Adult 2 | Child 1 | Child 2 | Child 3 | Child 4 | Child 5 | Child 6 |
ABC123 | Doe | John | Jane | David | Lucy | ||||
BCD234 | Jones | Bill | |||||||
CDE345 | Smith | Kelsey | Eva |
My first instinct is that I'd need to write a module to do this - a query/report is probably not going to do it. But I'm so rusty at VBA I'm not sure where to start.
I did manage to get the first four columns of my result, with a bunch of queries. But a variable number of children has me stuck.
Ideally, the resulting data would spin out to a text file, but a table is fine, if that's easier.
Any thoughts (other than "You've lost your mind" - I have that one already

Thanks!