I have a check box [resolved] and a button to open reports unresolved.
Private Sub cmdUnresolvedRpt_Click()
Dim strWhere As String
If Me.resolved = False Then
strWhere = strWhere & " AND resolved=false" '
Else
strWhere = "[resolved] = " & Me.[resolved]
DoCmd.OpenReport "rptIncListing", acViewPreview, , strWhere
End If
End Sub
This opens the report with all the resolved records listed. Ha I thought changing false to true only to find that does nothing at all
There is something wrong right oops did i say open form open report
say what you mean don't mean what you say