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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top