M
mewins
This is similar to some other questions that have been answered, but I can’t
quite figure out how to do it. I want to be able to add a new record and
then lock certain fields after the initial creation. Specifically, I want to
add in a new client’s first and last name ([firstname] and [lastname]) in a
new record, and then afterwards, lock those fields from being edited in the
form to prevent staff erasing/changing the names (I would still like to be
able to edit names in the table though). Right now I have a command button
that does the standard add record code and another with the standard refresh,
but I’m guessing I need to add some code to lock those fields in one of those
command buttons. Any ideas? Thanks!
quite figure out how to do it. I want to be able to add a new record and
then lock certain fields after the initial creation. Specifically, I want to
add in a new client’s first and last name ([firstname] and [lastname]) in a
new record, and then afterwards, lock those fields from being edited in the
form to prevent staff erasing/changing the names (I would still like to be
able to edit names in the table though). Right now I have a command button
that does the standard add record code and another with the standard refresh,
but I’m guessing I need to add some code to lock those fields in one of those
command buttons. Any ideas? Thanks!