Difference between Enable and Visible in Access 2003 Form

Posted on 2008-11-07
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.
Question by:printmedia
    LVL 92

    Expert Comment

    by:Patrick Matthews
    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.

    Author Comment

    Ok I will not lock the other options. But what is the difference between Enable = False and Visible = False?
    LVL 92

    Accepted Solution

    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.

    Author Comment

    So if I use Visible = False, the end user will still not be able to interact with the control?

    Author Comment

    Nevermind I understand now. Thanks!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    Most if not all databases provide tools to filter data; even simple mail-merge programs might offer basic filtering capabilities. This is so important that, although Access has many built-in features to help the user in this task, developers often n…
    In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
    Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
    Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …

    759 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

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now