The easiest way is to make sure your data are accessible only via forms/reports, and that you can then set the form's locked property to true on the field even when editing records (ie only allow edits on new records).
First, have a proper user interface implemented with forms and commandbars, so you can then implement Access security to stop people accessing table/form/report design.
You can then have VBA code which conditionally unsets the locked property of the key textboxes if it is set to add a new record, or make it read only otherwise.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.