StephaniaFregosi
New member
- Local time
- Today, 04:01
- Joined
- Feb 20, 2001
- Messages
- 9
Label Problem
=Trim([FirstName]) & “ “ & [LastName] & Iif(IsNull([OrganizationName]), “ and “ ([OrganizationName)]
=Trim(IIf(IsNull([OrganizationName]),[Address1],[OrganizationName]))
=Trim(IIf(IsNull([OrganizationName]),[Address2],[Address1])) Or IIf(IsNull([Address2]),[City] & " " & [StateAbbreviation] & " " & [Zip])
=Trim(Iif(IsNull(OrganizationName]),
I have two fields that could be blank in my address table. One is Organization Name and one is Address2. I want to remove all blank lines from the label so they won’t look funny. I really would like to avoid 1) running two queries or 2) mail merging this thing into word (where I have no idea how to do line1)
I was doing fine with lines 1 and 2. Line 3 should be something like well if organization name is blank give me address 2, if not give me address 1. But what do I do if address 2 is blank!
Thanks,
Stephania
=Trim([FirstName]) & “ “ & [LastName] & Iif(IsNull([OrganizationName]), “ and “ ([OrganizationName)]
=Trim(IIf(IsNull([OrganizationName]),[Address1],[OrganizationName]))
=Trim(IIf(IsNull([OrganizationName]),[Address2],[Address1])) Or IIf(IsNull([Address2]),[City] & " " & [StateAbbreviation] & " " & [Zip])
=Trim(Iif(IsNull(OrganizationName]),
I have two fields that could be blank in my address table. One is Organization Name and one is Address2. I want to remove all blank lines from the label so they won’t look funny. I really would like to avoid 1) running two queries or 2) mail merging this thing into word (where I have no idea how to do line1)
I was doing fine with lines 1 and 2. Line 3 should be something like well if organization name is blank give me address 2, if not give me address 1. But what do I do if address 2 is blank!
Thanks,
Stephania