M
mattc66 via AccessMonster.com
Private Sub Form_Current()
Dim strFilter As String
If Me.Company = "C1" Then
strFilter = "qryLookUpItem_C1"
ElseIf Me.Company = "C2" Then
strFilter = "qryLookUpItem_C2"
End If
Me.Item.RowSource = strFilter
End Sub
Dim strFilter As String
If Me.Company = "C1" Then
strFilter = "qryLookUpItem_C1"
ElseIf Me.Company = "C2" Then
strFilter = "qryLookUpItem_C2"
End If
Me.Item.RowSource = strFilter
End Sub