Hello All,
I am changing from MS to base as I am trying to find a way to combine text in a query or report. I would like to be able to:
-
If there is no other person then
just Combine Last Name and First
Name. i.e Smith Bob -
If there is a spouse with the same last name then Combine Last Name and First Name and First Name i.e. Smith
Bob & Brenda Or -
If there are two people with different names combine them all. i.e Smith Bob & Jones Marsha.
In MS I can have a calculated field with:
[01 Last Name] & " " & [01 First Name] & " & "+([02 Last Name] & " ")+([02 First Name])
In Calc used a very complicated Nested if statement :
=IF(D3="",C3,IF(C3=“Info Not”,“Info Not Available”,IF(F3<>"",+D3&", “&C3&” “&” & “&” “&F3&”, “&E3,IF(E3<>”",+D3&", “&” “&C3&” & “&E3,+D3&”, "&C3))))
I hope that I am slightly more clear than mud in my question and thank you all for any help you can send me.
Nirliq
Thank you, please find my sample attached. Directory - Copy.odb