A
Alex
Doing the following:
strCode = "8OS"
Set rst3 = dbs.OpenRecordset("SELECT tblProduct.NrOfCases
FROM tblProduct WHERE ((tblProduct.Product_ID)=" & strCode
& ")")
I've got this error message:
"Run-time error '3075'. Syntax error (missing operator) in
query expression '((tblProduct_ID)=8OS)'"
Can anybody advise what's this operator. I cannot figure
it out.
Thanks
strCode = "8OS"
Set rst3 = dbs.OpenRecordset("SELECT tblProduct.NrOfCases
FROM tblProduct WHERE ((tblProduct.Product_ID)=" & strCode
& ")")
I've got this error message:
"Run-time error '3075'. Syntax error (missing operator) in
query expression '((tblProduct_ID)=8OS)'"
Can anybody advise what's this operator. I cannot figure
it out.
Thanks