I have it working to go to the first record with a date, but what do I do if the date is null? Sometimes we start a PO and wait for a confirmation before going in and adding a date. If the value of my date combobox is null, I get this error: "Run-time error'3077': Syntax error in date expression."
Here's my current code:
Code:
Private Sub cboDateFilter_AfterUpdate()
Dim rs As DAO.Recordset
Set rs = Me.Recordset.Clone
rs.FindFirst "[PODate] =#" & Me![cboFilter] & "#"
If Not rs.EOF Then Me.Bookmark = rs.Bookmark
End Sub
Thank you.