J
jjmclell
Hi there,
I've got a form that looks like this:
MAIN FORM
SUBFORM1
SUBFORM2
SUBFORM3
I'm trying to code an event in a listbox in SUBFORM1 that locks a
textbox in SUBFORM2 if the user picks a certain item from the list.
However, I can't seem to get the code right in order to do it. I
tried this:
If whatever Then
Forms!subfrm1.subfrm2!Listboxname.Locked = True
End if
However it keeps telling me it can't find subfrm1.
Any ideas?
jjmclell
I've got a form that looks like this:
MAIN FORM
SUBFORM1
SUBFORM2
SUBFORM3
I'm trying to code an event in a listbox in SUBFORM1 that locks a
textbox in SUBFORM2 if the user picks a certain item from the list.
However, I can't seem to get the code right in order to do it. I
tried this:
If whatever Then
Forms!subfrm1.subfrm2!Listboxname.Locked = True
End if
However it keeps telling me it can't find subfrm1.
Any ideas?
jjmclell