RE: Subform reference



Try and add Me infront of it
Me.sbfrmItems.Locked = True



"Brian" wrote:

> I have this line in VBA: sbfrmItems.Locked = True
>
> to lock the subform sbfrmItems.
>
> When I compile, I get a "Variable not defined" on "sbfrmItems" .
>
> Access 2000 (9.0.2720) (it works in Access 2003)
>
> Is there any setting in Access that deals with how Access references a
> subform as an object on the form?
>
>
.



Relevant Pages

  • Subform reference
    ... I have this line in VBA: ... to lock the subform sbfrmItems. ... Is there any setting in Access that deals with how Access references a ...
    (microsoft.public.access.formscoding)
  • RE: Subform reference
    ... "Brian" wrote: ... > trying to answer another forum question. ... >>> to lock the subform sbfrmItems. ... >>> Is there any setting in Access that deals with how Access references a ...
    (microsoft.public.access.formscoding)
  • RE: Subform reference
    ... "Ofer" wrote: ... > Try and add Me infront of it ... >> to lock the subform sbfrmItems. ... >> Is there any setting in Access that deals with how Access references a ...
    (microsoft.public.access.formscoding)