I would like to update a field in an Access table using the SQL
update command.
The following syntax will work if I want to update a specific value
in a field.
UPDATE CustomerTable
SET City = Atlanta
Where Zipcode = 30303
Could anyone tell me the correct syntax to set city = a variable like
txtCityName = Baltimore
UPDATE CustomerTable
SET City = txtCityName
Where Zipcode = 30303
Thanks in advance to anyone who can help
update command.
The following syntax will work if I want to update a specific value
in a field.
UPDATE CustomerTable
SET City = Atlanta
Where Zipcode = 30303
Could anyone tell me the correct syntax to set city = a variable like
txtCityName = Baltimore
UPDATE CustomerTable
SET City = txtCityName
Where Zipcode = 30303
Thanks in advance to anyone who can help