MichaelWaimauku
Registered User.
- Local time
- Tomorrow, 11:36
- Joined
- Dec 6, 2012
- Messages
- 57
I'm having trouble completing the code for my form. It updates a table if the item doesn't exist in the combo box.
The following error displays:
Run-time error '3464': Data type mismatch in criteria expression.
If DCount("Reason", "NonConformity", "Reason = '" & Me.Reason.Text & "'") = 0 Then strOpenArgs = Me.Reason.Text
I've attached the database. The form NonConfomity, field Reason, is where the code is operated from using double click.
Any help appreciated.
The following error displays:
Run-time error '3464': Data type mismatch in criteria expression.
If DCount("Reason", "NonConformity", "Reason = '" & Me.Reason.Text & "'") = 0 Then strOpenArgs = Me.Reason.Text
I've attached the database. The form NonConfomity, field Reason, is where the code is operated from using double click.
Any help appreciated.