Hello, I am attempting my first database in access 2003. It is for a group membership.
All has gone well until I tried to concatenate from a query and save to a table,so far so good, but this
is what I have come up against and am unable to solve.
The following gave me this result when creating postal labels:-
POSTAL NAME: Left([FORENAME_Male],1) & " " & Left([FORENAME_Female],1) & " " & ([surname])
Mr John Smith ...................................Mr J Smith. (Ok for single male)
Mrs Mary Smith...................................Mrs M smith. (Ok for single female)
Mr & Mrs David and Anne Evans.............Mr & Mrs D A Evans. ("&" Missing between D and A)
The following gave me this result when creating postal labels:-
POSTAL NAME: Left([FORENAME_Male],1) & " & " & Left([FORENAME_Female],1) & " & " & ([surname])
Mr John Smith ...................................Mr & J Smith. ("&" not neede for single male)
Mrs Mary Smith..................................Mrs & M smith. ("&" not needed for single female)
Mr & Mrs David and Anne Evans.............Mr & Mrs D & A Evans. ("&" needed between D and A)
How do I remove the unwanted "&", in the single person case but keep it for couples?
The Title bit is from a column "Title".
The Couples are entered in the same entry with common membership number.
Singles have their own membership number.
Thanks in advance.
Roger
All has gone well until I tried to concatenate from a query and save to a table,so far so good, but this
is what I have come up against and am unable to solve.
The following gave me this result when creating postal labels:-
POSTAL NAME: Left([FORENAME_Male],1) & " " & Left([FORENAME_Female],1) & " " & ([surname])
Mr John Smith ...................................Mr J Smith. (Ok for single male)
Mrs Mary Smith...................................Mrs M smith. (Ok for single female)
Mr & Mrs David and Anne Evans.............Mr & Mrs D A Evans. ("&" Missing between D and A)
The following gave me this result when creating postal labels:-
POSTAL NAME: Left([FORENAME_Male],1) & " & " & Left([FORENAME_Female],1) & " & " & ([surname])
Mr John Smith ...................................Mr & J Smith. ("&" not neede for single male)
Mrs Mary Smith..................................Mrs & M smith. ("&" not needed for single female)
Mr & Mrs David and Anne Evans.............Mr & Mrs D & A Evans. ("&" needed between D and A)
How do I remove the unwanted "&", in the single person case but keep it for couples?
The Title bit is from a column "Title".
The Couples are entered in the same entry with common membership number.
Singles have their own membership number.
Thanks in advance.
Roger