How do I lock/unlock hyperlink controls with VBA?

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

Guest

I have some form controls that are bound to hyperlink fields in an Access
2000 table. I want to set these controls to be locked/unlocked
programmatically, but the only property or method that appears to be exposed
in VBA is "value". In form design view, I can set locked to yes or no just
like with any other type of control. How can I do it programmatically?
 
Me!NameOfControl.Locked = True (or False). Assuming, of course, that this is
a type of control that has a Locked property. Your post doesn't actually say
what type of control this is, but if it has a Locked property in design
view, then it has a Locked property at run time too.

Access form controls have many, many properties exposed to VBA in addition
to the Value property. What made you think otherwise?
 
Back
Top