B
Barry A&P
I am using allen browns lock bound controls code. I have used it elsewhere in
my database just fine however i would like to use it on a unbound search form
the button ctlLock is on my main unbound form and i want it to toggle and
lock my results subform
here is the line i am having issues with i think it is because i am trying
to reference the subform incorrectly..
Call LockBoundControls(Me.F_Parts_Browse_All, bLock)
i get a runtime error 13 Type mismatch on the above line
I f i leave the ME as supplied by allen Call LockBoundControls(Me, bLock)
i get a error 2455 for invalid reference to expression Dirty maybe because
my main form is unbound??
i have tried
forms_F_parts_Browse_all
forms!F_parts_Browse_all
me!F_parts_Browse_all
Forms!F_Parts_Search!F_parts_Browse_all
and just about every other combo i can think of
Any help would be greatly appreciated
Thanks
Barry
my database just fine however i would like to use it on a unbound search form
the button ctlLock is on my main unbound form and i want it to toggle and
lock my results subform
here is the line i am having issues with i think it is because i am trying
to reference the subform incorrectly..
Call LockBoundControls(Me.F_Parts_Browse_All, bLock)
i get a runtime error 13 Type mismatch on the above line
I f i leave the ME as supplied by allen Call LockBoundControls(Me, bLock)
i get a error 2455 for invalid reference to expression Dirty maybe because
my main form is unbound??
i have tried
forms_F_parts_Browse_all
forms!F_parts_Browse_all
me!F_parts_Browse_all
Forms!F_Parts_Search!F_parts_Browse_all
and just about every other combo i can think of
Any help would be greatly appreciated
Thanks
Barry