I was looking for a way to "automate" a multi-step process. There may have been a different (better) way to do this, and I appreciate you trying to help me with that. Anyway, I finally figured it out, and for those who may be looking for a way to get that done, below is the code I used. Just copy the entire script below into the VB Editor in Access:
Code:
Sub RenameFieldControl(strTableName As String, _
strFieldFrom As String, _
strFieldTo As String)
Dim dbs As DAO.Database
Dim tDef As DAO.TableDef
Dim fDef As DAO.Field
Set dbs = CurrentDb()
Set tDef = dbs.TableDefs(strTableName)
Set fDef = tDef.Fields(strFieldFrom)
fDef.Name = strFieldTo
Set fDef = Nothing
Set tDef = Nothing
Set dbs = Nothing
End Sub
Sub RenameField()
RenameField "TableName", "CurrentColumnName", "NewColumnName"
End Sub