I am trying to use the ALTER TABLE command to rename a field in my table and the pertinent code is:
Dim strSQL1 As String
Dim db As DAO.Database
Set db = CurrentDb()
strSQL1 = “ALTER TABLE tblRawData RENAME F1 TO CenterNo;”
db.Execute (strSQL1)
Set db = Nothing
I get a Syntax Error in Alter Table statement message but I can’t figure out what’s wrong with my syntax. Can anyone clue me in?