S
srctr
I need to have a text box that combines a couple of fields and text. My
problem is that if the field is blank I need it not to include some of the
text.
The text box is
Dear Alias or FirstName and SpouseName,
What I have is
="Dear " & (IIf(IsNull([Alias]),StrConv([FirstName],3),StrConv([Alias],3)))
& (IIf(IsNull([SpouseName]),StrConv([SpouseName],3))) & ","
Problem is that if there is a spousename it isn't showing. If I add in the
"and" I still don't get the spouse name but I get the and.
I have tried so many combinations, my head is spinning
Help!!
problem is that if the field is blank I need it not to include some of the
text.
The text box is
Dear Alias or FirstName and SpouseName,
What I have is
="Dear " & (IIf(IsNull([Alias]),StrConv([FirstName],3),StrConv([Alias],3)))
& (IIf(IsNull([SpouseName]),StrConv([SpouseName],3))) & ","
Problem is that if there is a spousename it isn't showing. If I add in the
"and" I still don't get the spouse name but I get the and.
I have tried so many combinations, my head is spinning
Help!!