Results 1 to 6 of 6
  1. #1
    russdwright is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Sep 2017
    Posts
    30

    Question Disable tab in subform based on check box


    I have a subform with multiple tabs:


    • Discovery
    • Questionnaire
    • Third Party
    • Documentation
    • Transition
    • Turnover


    I have a couple of questions in Questionnaire that, upon being answered, should enable certain tabs (Third Party and Documentation) respectively. Unfortunately, my research via Google has not really garnered any solid results. Based on what I have found, this does not appear to be possible.

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    What have you tried and where do you have this process? Are the questions on the Main Form? Have you seen this: http://theaccessweb.com/forms/frm0031.htm

  3. #3
    russdwright is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Sep 2017
    Posts
    30
    Option Compare Database
    Private Sub Ctl3rdParty_Click()
    If chk3rdParty.Value = True Then
    Third_Party.Enabled = True
    ElseIf chk3rdParty.Value = False Then
    Third_Party.Enabled = False
    End If
    End Sub

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Where is this code located? Is it on the Main Form or the Sub Form?

  5. #5
    russdwright is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Sep 2017
    Posts
    30
    The checkbox is on the subform. Specifically, it's on a checkbox in the Questionairre tab of the subform. Third Party is another tab in the subform.

  6. #6
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Try:

    Me.Third_Party.Enabled = Me.chk3rdParty

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

Similar Threads

  1. Replies: 2
    Last Post: 07-27-2015, 05:20 PM
  2. Check box based on values of other check boxes?
    By Michael.Reynolds1775 in forum Forms
    Replies: 3
    Last Post: 03-25-2015, 12:58 AM
  3. Replies: 13
    Last Post: 11-11-2014, 02:43 PM
  4. Replies: 4
    Last Post: 04-18-2014, 06:14 AM
  5. Replies: 3
    Last Post: 09-29-2010, 09:31 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