I have a form based on a recordset and using vba would like to lock certain controls to keep users from editing data. I used the following:
Forms!Formname.Controlname.Locked = True
Upon doing this when the form opens it gives me errors, however wen i remove that statement it runs fine. Is there a way to lock controls on forms to keep people from editing them?
Bill
Forms!Formname.Controlname.Locked = True
Upon doing this when the form opens it gives me errors, however wen i remove that statement it runs fine. Is there a way to lock controls on forms to keep people from editing them?
Bill