I have a form which is used to populate a table. The form is made up of 7 fields/combo boxes style. Each combo box has its own table as "Control source". All the combo boxes have "Not Applicable" as a choice to be selected with the exception of Combo Box 1 which have only Yes and No.
My problem is to save time for the user and to complete the form quicker and instead of going through each combo box to select a value, I want to do the following:
Field 1 on the form = Combo box 1 have 2 choices YES or NO. If the user selects "YES" I want the other 6 fields/combo boxes to be populated with "Not Applicable" instead of the user having to go into each combo box and select "Not Applicable".
Where as if the user select "NO" then they just go and complete each field / combo box on the form separately by choosing the appropriate value from the combo box.
Below is what I was trying but nothing happens
Hope I didnt confuse anyone and explained my problem clearly
Thanks in advance
My problem is to save time for the user and to complete the form quicker and instead of going through each combo box to select a value, I want to do the following:
Field 1 on the form = Combo box 1 have 2 choices YES or NO. If the user selects "YES" I want the other 6 fields/combo boxes to be populated with "Not Applicable" instead of the user having to go into each combo box and select "Not Applicable".
Where as if the user select "NO" then they just go and complete each field / combo box on the form separately by choosing the appropriate value from the combo box.
Below is what I was trying but nothing happens
Code:
Private Sub Form_AfterUpdate()
If Me.ObservationSafeAction.Value = "Yes" Then
Me.WhatUnsafe.Value = "Not Applicable"
Me.UnsafeCondition.Value = "Not Applicable"
Me.Communicationissues.Value = "Not Applicable"
Me.RepetitiveMotion.Value = "Not Applicable"
Me.FacilitiesEquipToolsIssue.Value = "Not Applicable"
Me.Management.Value = "Not Applicable"
End If
End Sub
Hope I didnt confuse anyone and explained my problem clearly
Thanks in advance