MS Access 2010 Update Query to add text to field contents

I have an update query.  In the [Roles] field there will be varying comma separated text, wich comes straight from the source.

I want to check the record email address in the one of the source tables and add new text to that [Roles]
For example, in english:
If the email ends in "jores.com" then add ",Jores Employee" to whatever is in the roles field already.

I can't get the syntax correctly in the following and keep getting errors on the word employee. I need a little help.
IIf((Right([Email],9)="jores.com"),(" & [Roles] & ",Jores Employee"),"")

AddXRole.JPG
LVL 1
Mitch SwetskyBusiness AnalystAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Rey Obrero (Capricorn1)Commented:
try

IIf(Right([Email],9)="jores.com", [Roles] & ",Jores Employee","")

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Mitch SwetskyBusiness AnalystAuthor Commented:
Hi Rey,
Thank you very much for the prompt response, that worked perfectly.
I see now where I went astray.
Mitch
Jeffrey CoachmanMIS LiasonCommented:
Glad you got your answer...

BTW, something like this might work for any email:

[Roles] & ", " & Right([Email],Len([Email])-InStr([email],"@"))
The 7 Worst Nightmares of a Sysadmin

Fear not! To defend your business’ IT systems we’re going to shine a light on the seven most sinister terrors that haunt sysadmins. That way you can be sure there’s nothing in your stack waiting to go bump in the night.

Jeffrey CoachmanMIS LiasonCommented:
...sorry, ...ignore my post, ...I misread your question....
Mitch SwetskyBusiness AnalystAuthor Commented:
I appreciate the thought and understand your point.
Thanks
Jeffrey CoachmanMIS LiasonCommented:
yeah, I thought you needed the whole email...

But again,  ,..I'm glad Rey got you what you needed...
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.