G
Guest
I have a bunch of fileds. SOme are blank. I have the grasp of the IIF Statement, but am not sure I am using it properly in this instance:
Name1
Name2
Address1
Address2
Address3
City
State
Zip
Here are the codes i have going on....
=Name1
=iif([name2]>" ",[name2],[Address1])
=iif([address2]>" ",[address2],iif([address3]>" ",trim([city]&", "&[state]&" "&[zip]," "))
=iif([address2]>" ",[address2],iif([address3]>" ",trim([city]&", "&[state]&" "&[zip]," "))
..........
I have tried all I that is in my ability and I am just frustrating myself.
Any assistance would be GREATLY apprecitated.
THANKS!!!
David
Name1
Name2
Address1
Address2
Address3
City
State
Zip
Here are the codes i have going on....
=Name1
=iif([name2]>" ",[name2],[Address1])
=iif([address2]>" ",[address2],iif([address3]>" ",trim([city]&", "&[state]&" "&[zip]," "))
=iif([address2]>" ",[address2],iif([address3]>" ",trim([city]&", "&[state]&" "&[zip]," "))
..........
I have tried all I that is in my ability and I am just frustrating myself.
Any assistance would be GREATLY apprecitated.
THANKS!!!
David