Feb 8, 2013 #1 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
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
Feb 8, 2013 1 #2 PHV MIS Nov 8, 2002 53,708 FR qSql = qSql & " WHERE MotorPart.ID1=" & MPID Hope This Helps, PH. FAQ219-2884 FAQ181-2886 Upvote 0 Downvote
Feb 8, 2013 Thread starter #3 fileman1 Technical User Feb 7, 2013 152 GB That was quick, thanks Upvote 0 Downvote