Hi,
I've written this SQL string to update the Post Code in the Customer table:
SQL = "UPDATE tblCustomers " & _
"SET [CustPostCode] = " & "[" & strEntry & "]" & _
"WHERE [CustID] = " & ref
DoCmd.RunSQL SQL
I've included the square brackets because without them I was getting a 3075 expression error because the Post Code has a space in it. That error no-longer occurs, instead I'm now getting an "Enter Parameter Value" dialog box showing me the (updated) Post Code, but asking me to enter value - but the Post Code IS the value!
Any ideas?
Prof.