can´t block forms and....

T

thecoolezt

I don´t know how to make my form that has a subform, to
block the subform unless I press a boton to disable the
block so I can change the data (not create a new registry,
just change it)
 
W

Wayne Morgan

The code should be similar to

Me.NameOfSubformControl.Form.AllowEdits = True

where the NameOfSubformControl is a control on the main form. This control
holds the subform. It is not the name of the subform itself. To get the name
of this control, open the main form in design mode, open the Properties
sheet, and click on the subform ONE time. The Properties sheet should show
the name of the subform control. If you click more than once, you'll be in
the subform and the Properties sheet will show the name of the subform, not
the control holding it.

--
Wayne Morgan
Microsoft Access MVP


message I don´t know how to make my form that has a subform, to
block the subform unless I press a boton to disable the
block so I can change the data (not create a new registry,
just change it)
 

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

Top