I want to select records which meet different criteria. I have a combo box
which takes the dates from the table containing the records. I select the
date from the menu, then open the form which meats the relevant criteria.
Dim stLinkCriteria As String
Dim stDocName As String
stDocName = "Incidents"
stLinkCriteria = "[Incidents]![IncDate]=" & "#" & Me![Combo23] & "#"
DoCmd.OpenReport stDocName, acPreview, , stLinkCriteria
The records go back over the past few weeks. Up until the start of Feb it
can select the right dates ... but then it fails.
I'm afraid it is a total mystery to me. I've been everywhere trying to
solve it ... and ended up with my computer believing it to be 1890!