Hello, I have this statement:
Set rst = CurrentDb.OpenRecordset("select * from ECR where [Serial] = " & frm_prehliadka_vyberkasa)
which ends with a runtime 3464 - data type mismatch in criteria expression. Serial is a text field in an ECR table and frm_prehliadka_kasa is a text field in current form.
I actually try to select the correct row from a table to be able to edit it. What am I doing wrong ? :-(