I need to build a function valid for all forms and making all the controls on the form locked and with no edits as in:
public function allow (frm as Form)
For each control in frm
AllowEdits = false
Locked = true
End Function
Can somebody help me make the above code really working?