1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Access 2007 - Field Visibility

Discussion in 'Business Applications' started by KSL, Apr 21, 2008.

Thread Status:
Not open for further replies.
  1. KSL

    KSL Thread Starter

    Joined:
    Apr 18, 2008
    Messages:
    6
    Hi I am totally new to Access 2007 and have only had a small experience with access 97 and 2000.

    I am creating a Data Entry Form, And i am looking for a entry field to become visible when someone ticks a Checkbox above it. Now i think i have done this a long time ago in a previous version, but my memory is not the best and for the life of me i cannot figure out how to do this.

    Any help would be appreciated.

    Regards

    KSL
     
  2. OBP

    OBP

    Joined:
    Mar 8, 2005
    Messages:
    19,895
    KSL, it is best done using VBA, place the VBA in the Check Box's After Update Event Procedure.
    The VBA will be something like this
    if me.checkbox = -1 then
    me.Fieldname.Visible = true
    else
    Me.Fieldname.visible = False

    where checkbox is the actual name of you checkbox and Fieldname is the actaul name of the field you want to make visible.
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/705747

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice