?
Solved

Difference between Enable and Visible in Access 2003 Form

Posted on 2008-11-07
5
Medium Priority
?
256 Views
Last Modified: 2013-11-28
Hi all.

What is the difference between the following properties in access 2003 forms: Enable and Visible

I'm working on a form that when the user chooses one radio button it will make the other radio buttons disapear. But which is wiser to choose? control.Enable = False or control.Visible = False


Thank you in advance.
0
Comment
Question by:printmedia
  • 3
  • 2
5 Comments
 
LVL 93

Expert Comment

by:Patrick Matthews
ID: 22907131
printmedia said:
>>I'm working on a form that when the user chooses one radio button it will make the other radio buttons disapear.

I'd argue that you should not do that: radio buttons should be used to show "options", and choosing one option
from a group ought not make the other options invisible or lock out the other options.
0
 

Author Comment

by:printmedia
ID: 22907156
Ok I will not lock the other options. But what is the difference between Enable = False and Visible = False?
0
 
LVL 93

Accepted Solution

by:
Patrick Matthews earned 2000 total points
ID: 22907218
Enable determines whether the user is able to interact with the control.  Visible determines whether the
user can see it.

So, a commandbutton that is not enabled cannot be clicked, and a textbox that is not enabled cannot
be entered.
0
 

Author Comment

by:printmedia
ID: 22907258
So if I use Visible = False, the end user will still not be able to interact with the control?
0
 

Author Comment

by:printmedia
ID: 22907319
Nevermind I understand now. Thanks!
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
Windows Explorer lets you open cabinet (cab) files like any other folder. In VBA you can easily handle normal files and folders, but opening and indeed creating cabinet files takes a lot more - and that's you'll find here.
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Suggested Courses

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question