I have a splitted DB and it worked fine until I discovered this bug with FindFirst function 
In a table tbdShifts, which is the base for the frmShiftsEnter form through the query qryShiftsEnter. On the form I have a "find" button for quick navigation to the desired date. The code behind the button is as follows:
Private Sub Command20_Click()
Dim rs As Object
Dim Produced As Date
    
Produced = InputBox("Enter the production date", "Find the production date", 0)
Set rs = Me.Recordset.Clone
    
rs.FindFirst "[Prod_Date] = " & "#" & Format(Produced, "dd\/mm\/yyyy") & "#"
If Not rs.EOF Then Me.Bookmark = rs.Bookmark
End Sub
Everything worked fine and a user could go to the desired date until June 2011. For some reason this function doesn't want to find the records from 01.06.2011 till the end of the year, although it finds records well for the first half of the year. I inputted some few dummy entries to find out that any year has the same problem: either it 2010 or 2011 or 2012 - it finds records only until 31 of May but starting from 01 June you get nothing.
Please, help
Any ideas are greatly appreciated.
 In a table tbdShifts, which is the base for the frmShiftsEnter form through the query qryShiftsEnter. On the form I have a "find" button for quick navigation to the desired date. The code behind the button is as follows:
Private Sub Command20_Click()
Dim rs As Object
Dim Produced As Date
Produced = InputBox("Enter the production date", "Find the production date", 0)
Set rs = Me.Recordset.Clone
rs.FindFirst "[Prod_Date] = " & "#" & Format(Produced, "dd\/mm\/yyyy") & "#"
If Not rs.EOF Then Me.Bookmark = rs.Bookmark
End Sub
Everything worked fine and a user could go to the desired date until June 2011. For some reason this function doesn't want to find the records from 01.06.2011 till the end of the year, although it finds records well for the first half of the year. I inputted some few dummy entries to find out that any year has the same problem: either it 2010 or 2011 or 2012 - it finds records only until 31 of May but starting from 01 June you get nothing.
Please, help
Any ideas are greatly appreciated.