Valery
Registered User.
- Local time
- Today, 15:52
- Joined
- Jun 22, 2013
- Messages
- 363
Hi all!
I am using one of these two IIF functions in almost every report I need to create. Because I don't know any other way, I have saved them into a word file for quick access (opened on my second monitor) and keep doing copy/paste in my report queries. Is there a better way??
Please include detailed information - I am sort of a newbie... THANK YOU
I am using one of these two IIF functions in almost every report I need to create. Because I don't know any other way, I have saved them into a word file for quick access (opened on my second monitor) and keep doing copy/paste in my report queries. Is there a better way??
Code:
TenantSal: IIf([Gender]="M","M. " & [FirstName] & " " & [LastName],"Mme " & [FirstName] & " " & [LastName])
Code:
TenSalStat: IIf([Status]="M" And [Gender]="M ","M. " & " " & [FirstName] & " " & [LastName] & ", Membre",IIf([Status]="M" And [Gender]="F","Mme" & " " & [FirstName] & " " & [LastName] & ", Membre",IIf([Status]="O" And [Gender]="M","M. " & " " & [FirstName] & " " & [LastName] & ", Occupant",IIf([Status]="O" And [Gender]="F","Mme" & " " & [FirstName] & " " & [LastName] & ", Occupante"))))
Please include detailed information - I am sort of a newbie... THANK YOU