R
Rpettis31
I am not sure what I am doing wrong but I am asking the user for an input to
filter on. Yet I get the parameter value pop up after the fact?
Private Sub cmdCustomer1_Click()
On Error GoTo Err_cmdCustomer1_Click
Dim Customer As String
Customer = InputBox("Please Select A Customer", "CUSTOMER SELECTION")
Me.subfrmInventoryList.Form.Filter = "[Customer]=" & Customer
Me.subfrmInventoryList.Form.FilterOn = True
Exit_cmdCustomer1_Click:
Exit Sub
Err_cmdCustomer1_Click:
MsgBox Err.Description
Resume Exit_cmdCustomer1_Click
End Sub
filter on. Yet I get the parameter value pop up after the fact?
Private Sub cmdCustomer1_Click()
On Error GoTo Err_cmdCustomer1_Click
Dim Customer As String
Customer = InputBox("Please Select A Customer", "CUSTOMER SELECTION")
Me.subfrmInventoryList.Form.Filter = "[Customer]=" & Customer
Me.subfrmInventoryList.Form.FilterOn = True
Exit_cmdCustomer1_Click:
Exit Sub
Err_cmdCustomer1_Click:
MsgBox Err.Description
Resume Exit_cmdCustomer1_Click
End Sub