Results 1 to 2 of 2
  1. #1
    jlclark4 is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Dec 2010
    Location
    North Carolina
    Posts
    155

    Visibility based on Combo selection

    Hey!



    I would like the Compliance to become visible only if Written or Email is selected from the Method of Reciept and Yes is checked for the Official Complaint. Is this possible? I would need Official Complaint to be visible at all times.


    Attached is a sample database with the basic setup.

  2. #2
    TheShabz is offline Court Jester
    Windows XP Access 2003
    Join Date
    Feb 2010
    Posts
    1,368
    I dont have Access available right now to look at but if "Written" and "Email" are combobox values and Official Complaint is a checkbox, you simply need to set the "visible" property of Compliance to "no" as the default. Then on the afterUpdate event of the combobox, do:
    Code:
    If Me.comboName= "written" AND Me.checkName = -1 OR Me.comboName= "email" AND Me.checkName = -1 Then
    Me.Compliance.Visible = True
    Else
    'nothing
    End If
    also set this as the afterUpdate of the checkbox.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 4
    Last Post: 01-24-2011, 07:11 PM
  2. Replies: 2
    Last Post: 12-07-2010, 12:32 PM
  3. Replies: 2
    Last Post: 09-17-2010, 09:53 AM
  4. Replies: 1
    Last Post: 10-19-2009, 02:37 AM
  5. Replies: 1
    Last Post: 08-26-2009, 10:45 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums