Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL Problem 1

Status
Not open for further replies.

fileman1

Technical User
Feb 7, 2013
152
GB
Hi Guys, I am trying to replace a fixed number with a variable value

qSql = qSql & " WHERE (((MotorPart.ID1)=495));"

Variable holding value of 495 is MPID

Cheers



 
qSql = qSql & " WHERE MotorPart.ID1=" & MPID

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top