I have the following
Set rs = CurrentDb.OpenRecordset("SELECT [DRAWING NUMBER] FROM CORE WHERE [DRAWING # PREFIX]=" & "" & Me!prefix2 & ""
It gives the error:
---
Run-time error '3075'
Syntax error (missing operator) in query expression '[DRAWING # PREFIX]=C1234 A 0056'.
---
[DRAWING # PREFIX] is text
[DRAWING NUMBER] is a long integer
Does anyone know how to fix this?
Thanks
Set rs = CurrentDb.OpenRecordset("SELECT [DRAWING NUMBER] FROM CORE WHERE [DRAWING # PREFIX]=" & "" & Me!prefix2 & ""
It gives the error:
---
Run-time error '3075'
Syntax error (missing operator) in query expression '[DRAWING # PREFIX]=C1234 A 0056'.
---
[DRAWING # PREFIX] is text
[DRAWING NUMBER] is a long integer
Does anyone know how to fix this?
Thanks