musicianman4god
New member
- Local time
- Today, 03:59
- Joined
- Sep 4, 2012
- Messages
- 3
I have a DB table with records for each person that is part of a church. I am trying to create a query that will combine Family members into one address as follows:
{Head of Household FirstName} {[if married] & 'and' & {spouse firstname}
street address
{City}, {State} {Zip}
{Primary Phone}
{Primary Email}
{[if any children] Child1 Child2, ... & 'and' & last child
I am able to create most of this except of the last line.
There are collums for HouseholdID, Household Member Type (Head of House, Spouse, Child, Other) First Name, Last name, Street Address, City, State, Zip, eMail address, Phone, and Marital Status.
Any suggestions (VB, SQL, etc...) Would be great.
{Head of Household FirstName} {[if married] & 'and' & {spouse firstname}
street address
{City}, {State} {Zip}
{Primary Phone}
{Primary Email}
{[if any children] Child1 Child2, ... & 'and' & last child
I am able to create most of this except of the last line.
There are collums for HouseholdID, Household Member Type (Head of House, Spouse, Child, Other) First Name, Last name, Street Address, City, State, Zip, eMail address, Phone, and Marital Status.
Any suggestions (VB, SQL, etc...) Would be great.