Subform reference

B

Brian

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?
 
B

Brian

Is this a difference between A2K and A2003? This question came up while I was
trying to answer another forum question. It worked on my A2003 without the
"Me", but was not working that way for the user, who has A2K.
 

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