John Sheehy
asked on
Changing a fields control source based on the type on input
Ok, so I have a SSN field. Right now it displays correctly so that is not a problem. But what I want the field to do is change it's control source based on whether a new record is being added our not.
Currently the control source displays like this:
="XXX-XX-"+Right([SSN],4)
This displays only the last four of a SSN
But when I add a record I want the control source to go blank, then on the after update I want the control source to display how it would normally.
Thanks
John
Currently the control source displays like this:
="XXX-XX-"+Right([SSN],4)
This displays only the last four of a SSN
But when I add a record I want the control source to go blank, then on the after update I want the control source to display how it would normally.
Thanks
John
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Great solution. Quick and direct to the point.
ASKER
That worked. Thank you very much.
John
PS still have the coin coming. We had an issue with getting coins. Should be here next wednesday.