I have a report field that is currently displaying:
=Trim([LastName] & " " & [Suffix] & ", " & [FirstName] & " " & [MiddleName] & ", " & [Degree])
For example
Doe Jr., John Ralph, MD
or
Doe , Jane Ellen, MD
I would like it to do a few things more based on those fields & others in the query if anyone has suggestions:
1. Get rid of the extra space after the last name if there is no Suffix (Jr., III, etc.)
2. Display the Contents of the field [IMGStatus] in parentheses ONLY if not Null...For example
Doe, Jane Ellen, MD (IMG)
3. If the contents of the field [PayAbbreviation] ="VAP", put an asterick next to the displayed name and display the whole row in the report (there are other displayed fields not in the example) in bold and italics...For example
*Doe, Jane Ellen, MD (IMG)
Thanks for any help you can offer...
=Trim([LastName] & " " & [Suffix] & ", " & [FirstName] & " " & [MiddleName] & ", " & [Degree])
For example
Doe Jr., John Ralph, MD
or
Doe , Jane Ellen, MD
I would like it to do a few things more based on those fields & others in the query if anyone has suggestions:
1. Get rid of the extra space after the last name if there is no Suffix (Jr., III, etc.)
2. Display the Contents of the field [IMGStatus] in parentheses ONLY if not Null...For example
Doe, Jane Ellen, MD (IMG)
3. If the contents of the field [PayAbbreviation] ="VAP", put an asterick next to the displayed name and display the whole row in the report (there are other displayed fields not in the example) in bold and italics...For example
*Doe, Jane Ellen, MD (IMG)
Thanks for any help you can offer...