Combining IIF IsNull statements

JobWK

New member
Local time
Today, 13:37
Joined
Jan 22, 2010
Messages
7
Unless I do not understand the IIF Is Null statement meaning but I am trying to combine this:

IIf(IsNull([SpouseLName]), ([SpouseTitle]),[Rank] & " " & [FirstName] & " " & [LastName] & " and Guest",[Rank] & " and " & [SpouseTitle] & " " & [FirstName] & " " & [MI] & " " & [LastName])

Please help:mad:
 
Unless I do not understand the IIF Is Null statement meaning but I am trying to combine this:

IIf(IsNull([SpouseLName]), ([SpouseTitle]),[Rank] & " " & [FirstName] & " " & [LastName] & " and Guest",[Rank] & " and " & [SpouseTitle] & " " & [FirstName] & " " & [MI] & " " & [LastName])

Please help:mad:

What do you want to happen? Syntax is wrong as I see it.
Show us a sample of each side of the IIF, please.
 
I want the results to be Mr. and Mrs. Joe E. Barnes or Mr. Joe E. Barnes and Guest or Mr. Joe E. Barnes and CPT Karen Barnes
 

Users who are viewing this thread

Back
Top Bottom