Disable/Enable form controls from another form within the same DB.

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

Guest

Good Evening (or morning) to you all!!

I'm curious if it is possible to disable or enable form controls but doing
it from another form within that same database? Let me explain.

I created this huge database for this task force at my agency. Since I
created it all by myself (with the help of kind folks who know all about
Access on this website), I want to be able to create a form within this
database, for me alone, that could/would basically control (or manipulate)
another forms control(s). Did I say that right?

I know that their are special programs out their that deal with security and
with that being so, for me to do it my way would probably be redundant, but I
just want to know if it could be done and if so could you steer me in the
right direction?

You can practically cook your dinner using Access now days, in my opinion; I
don't see why you couldn't fix Access to do what I am seeking.

If anyone can offer any help or suggestions, please please let me know!!
:-)

Thanks!! :-)

Wayne
 
If FormA is open, you should be able to refer to a control on it as
Forms("FormA").Controls("ControlName").

That means you should be able to do something like:

Forms("FormA").Controls("ControlName").Enabled = False

to disable it.

If I've misinterpretted your question, post back.
 
Back
Top