+ Reply to Thread
Results 1 to 3 of 3

Thread: Set value based on another value

  1. #1
    Registered User
    Join Date
    01-06-2012
    Location
    North Dakota, USA
    MS-Off Ver
    Excel 2010
    Posts
    12

    Question Set value based on another value

    I have a form that looks like this:

    ScreenShot002.jpg

    The Status field has 3 options to choose: Approved, Denied or Conditioned
    If the user selects Denied or Conditioned, they need to select 1-3 Conditions (on the form: "Condition 1", "Condition 2", and "Condition 3").
    How can I set the Condition 1, Condition 2 and Condition 3 to "N/A" if Approved is selected for the status?

  2. #2
    Valued Forum Contributor alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Lake County, Illinois
    MS-Off Ver
    MS Office 2010, 2007 and 2002
    Posts
    1,161

    Re: Access 2010 - set value based on another value

    You will need to develop cascading combo boxes. Look here for how to do that.
    http://www.fontstuff.com/access/acctut10.htm

  3. #3
    Registered User
    Join Date
    01-21-2012
    Location
    Lancashire
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Set value based on another value

    I would use VBA programming, via the After Update event for Status.
    If Me!Status = "Approved" then
    Me!condition1.Enabled = FALSE
    Me!Condition1 = "#N/A"
    ELSE
    Me!condition1.Enabled = TRUE
    END IF

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.2.0