Greetings All.
I am trying to find the syntax for an SQL Update Table instruction. They're quite straightforward it seems until you try to use variables as criteria.
So, I want to update the Diameters field of my Products Table to the Diameter value on my current form, only updating the record of the ProductID from my current form.
will naturally update all the diameters to the same value. How do I add the criteria of my ProductID?
Thanks again,
Stonward
I am trying to find the syntax for an SQL Update Table instruction. They're quite straightforward it seems until you try to use variables as criteria.
So, I want to update the Diameters field of my Products Table to the Diameter value on my current form, only updating the record of the ProductID from my current form.
Code:
"UPDATE tblProducts SET Diameter =" & intDiameter
Thanks again,
Stonward
Comment