Good Morning,
I have a variable jobID which is set to a value within a recordset.
Later on in the code I want to reference the value stored in the variable in a SQL statement such as:
I am not sure how to reference that variable.
I have a variable jobID which is set to a value within a recordset.
Code:
Set JobID = rs.Fields("Parent_ID")
Later on in the code I want to reference the value stored in the variable in a SQL statement such as:
Code:
strSQL = "UPDATE user_tblJobProp" & _
"SET user_tblJobProp.[Delivery_Charge]= '0'" & _
"WHERE user_tblJobProp.[ID]= [COLOR=red][i]jobID[/i][/color];"
I am not sure how to reference that variable.