George,
The first VBA code listed below seems to work fine. When I work on the second tab, I just assumed that I can copy/paste the below and just change the names of the combo boxes, subform name and assume that it will work. The second snippet/code block is the VBA code for the second tab.
1st Tab VBA code:
Option Compare Database
Private Sub Combo5_AfterUpdate()
Me.Combo10 = Null
Me.Combo10.Requery
RefreshSubform (Country)
End Sub
Private Sub Combo10_AfterUpdate()
RefreshSubform (Country)
End Sub
Private Sub btnClear_Click()
Me.Combo5 = Null
Me.Combo10 = Null
Me.Combo10.Requery
RefreshSubform (Country)
End Sub
Private Sub RefreshSubformcountry()
Dim strSQL As String
Dim strWhere As String
strSQL = "SELECT * FROM Data"
strWhere = ""
If Not IsNull(Me.Combo5) Then
strWhere = "[Cty] = '" & Me.Combo5 & "'"
End If
If Not IsNull(Me.Combo10) Then
If strWhere <> "" Then strWhere = strWhere & " AND "
'strWhere = strWhere & "[RFQ_num] = '" & Me.Combo10 & "'"
strWhere = strWhere & "[Cust_ind_std] = '" & Me.Combo10 & "'"
End If
If strWhere <> "" Then
strSQL = strSQL & " WHERE " & strWhere
End If
With Me.Country.Form
.RecordSource = strSQL
.Requery
End With
End Sub
2nd Tab VBA code:
Option Compare Database
Private Sub Combo32_AfterUpdate()
Me.Combo34 = Null
Me.Combo34.Requery
RefreshSubform (Country2)
End Sub
Private Sub Combo34_AfterUpdate()
RefreshSubform (Country2)
End Sub
Private Sub btnClear2_Click()
Me.Combo32 = Null
Me.Combo34 = Null
Me.Combo34.Requery
RefreshSubform (Country2)
End Sub
Private Sub RefreshSubform()
Dim strSQL As String
Dim strWhere As String
strSQL = "SELECT * FROM Data"
strWhere = ""
If Not IsNull(Me.Combo32) Then
strWhere = "[Cty] = '" & Me.Combo32 & "'"
End If
If Not IsNull(Me.Combo34) Then
If strWhere <> "" Then strWhere = strWhere & " AND "
'strWhere = strWhere & "[RFQ_num] = '" & Me.Combo34 & "'"
strWhere = strWhere & "[Cust_ind_std] = '" & Me.Combo34 & "'"
End If
If strWhere <> "" Then
strSQL = strSQL & " WHERE " & strWhere
End If
With Me.Country2.Form
.RecordSource = strSQL
.Requery
End With
End Sub
With the above code is when I start running into issue. When i first open the form, I get a windon pop-up asking for me to "Enter Parameter Value. I've tried answer it or leaving blank to get the form to open, either choices doesn't seem to make a differences. When the form does open, if I click on any of the combo boxes, then I get the following error:

I hit ok, then the VBA highlights the following line in the code.

At this point when I have the both VBA codes listed, then both to the tabs do not work correctly. If I removed the 1st or 2nd VBA's (listed above) then the corresponding tab will work.
I've been trail and error different things and googling the errors but I'm sure that I am missing something pretty obvious.
Sorry I cannot easily share the file because it has private details that cannot be shared. I can try and remove a lot of the data (change names, numbers, etc.) but that's really time consuming for something that seems so easy.
Thanks,