using variable in forms!

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

This works from a module.

Forms![resource summary].Resource.Form.AllowEdits = False

How do I get it to work this way?

Label_form_summary = "Resource Summary"
Label_form_detail = "Resource"

Forms![Label_form_summary].Label_form_detail.Form.AllowEdits = False

No errors are reported, but the form still allows me to change the data with
in the form.
 
Back
Top