Run-time Error: An arguement topdate function was invalid. The field name must be provided as a string value in quotation marks.
I have never got this before. I have this same code on other forms, but using other tables and it works just fine.
The listbox works fine running through the records, but once I change something on the form and click in the listbox to go to a new record it throws run-time error 3983.
ProjectID is a Long Integer
If you need a copy of the DB just let me know.
Thank you for the help with this.
I have never got this before. I have this same code on other forms, but using other tables and it works just fine.
Code:
Private Sub lstSearch_AfterUpdate()
Dim rs As DAO.Recordset
Set rs = Me.Recordset.Clone
rs.FindFirst "[ProjectID] = " & Str(Me![lstSearch])
[COLOR="Red"][B]Me.Bookmark = rs.Bookmark[/B][/COLOR] ' This is where Error pops at
Set rs = Nothing
End Sub
The listbox works fine running through the records, but once I change something on the form and click in the listbox to go to a new record it throws run-time error 3983.
ProjectID is a Long Integer
If you need a copy of the DB just let me know.
Thank you for the help with this.