I have a form where gname, sname are entered.
I then have a text box called assigned to with the control source of: =Left([Gname],1) & " " & [Sname] which combines the first initial of their given name (gname) with a space then their full last name (sname).
gname sname assigned to
Bob Smith B Smith
Joe King J King
MDT 410 M 410
This works for most of my table.
But, there are some entries that I want the full gname to be entered rather than just the first initial.
So how would I create an expression that looks at the value in gname and if it equals MDT, then have the assigned to field be MDT 410 instead of M 410?
Hope that makes sense?
Thank you.
I then have a text box called assigned to with the control source of: =Left([Gname],1) & " " & [Sname] which combines the first initial of their given name (gname) with a space then their full last name (sname).
gname sname assigned to
Bob Smith B Smith
Joe King J King
MDT 410 M 410
This works for most of my table.
But, there are some entries that I want the full gname to be entered rather than just the first initial.
So how would I create an expression that looks at the value in gname and if it equals MDT, then have the assigned to field be MDT 410 instead of M 410?
Hope that makes sense?
Thank you.