Hi all,
I have this:
It asks me twice for a value.
All I want to do is enter a dept and then the report show with the filter as for example:
dept = art
where art is s for example.
im sure theres something im missing here
thanks
Martin
I have this:
Code:
Private Sub Report_Load()
Dim s As String
Dim str As String
s = InputBox("Enter the dept", vbOKCancel)
str = "dept = " & s
DoCmd.ApplyFilter , str
End Sub
It asks me twice for a value.
All I want to do is enter a dept and then the report show with the filter as for example:
dept = art
where art is s for example.
im sure theres something im missing here
thanks
Martin