Sql

IanT

Registered User.
Local time
Today, 12:53
Joined
Nov 30, 2001
Messages
191
Hi

I am running a sql statement which looks at dblProdID as a value, am I missing something as sql is not working!


"WHERE tblProduct.ProductIDNumber = & dblProdID & "
 
"WHERE tblProduct.ProductIDNumber =" & dblProdID

Your reference is inside the quotes, so it thinks it is a string instead.
 

Users who are viewing this thread

Back
Top Bottom