H
hansjhamm
I do not know even how to approach this one, so help will be GREATLY
appreciated.
The line I currently use is:
DoCmd. RunSQL"update CAEmployees set[Name]=[NickName]&' '&[LastName]"
To create a new field in my table. But, in some cases the real name of
the person is used and not the nickname. So, I would need something
like this
If NickName is "" then FirstName&' '& LastName else NickName&'
"&LastName
How would I go about writing this within this line?
Thanks,
Hans
appreciated.
The line I currently use is:
DoCmd. RunSQL"update CAEmployees set[Name]=[NickName]&' '&[LastName]"
To create a new field in my table. But, in some cases the real name of
the person is used and not the nickname. So, I would need something
like this
If NickName is "" then FirstName&' '& LastName else NickName&'
"&LastName
How would I go about writing this within this line?
Thanks,
Hans