Any help is appreciated.
Its basically a filtered report issue: Cant seem to find my mistake - Getting the Runtime 3075 syntax error.... in 'True AND [ID] = New Construction'
See below for the code:
thank you...
Its basically a filtered report issue: Cant seem to find my mistake - Getting the Runtime 3075 syntax error.... in 'True AND [ID] = New Construction'
See below for the code:
Code:
Private Sub Preview_Click()
Dim strWhere As String
strWhere = "True" 'retrieve if no other' criteria are entered
If Not IsNull(Me!Category) Then
strWhere = strWhere & " AND [ID] = " & Me!Category
End If
DoCmd.OpenReport "Issues by Status", acViewPreview, , strWhere
End Sub
thank you...