I have a Front and back end Database and need to rename a table in the back
and a field within that table. I do this as follows:
Dim dbsUpdate As Database, wrkDefault As Workspace
Dim tdfUpdate As TableDef
Set wrkDefault = DBEngine.Workspaces(0)
Set dbsUpdate = wrkDefault.OpenDatabase(strBackEnd, True, False, "MS
Access;")
dbsUpdate.TableDefs("tbltemptable1").Name = "tblControl"
dbsUpdate.TableDefs("tblControl").Fields("Field1").Name = "PatchVersion"
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/10148-rename-a-back-end-table.html
My question is how do I then rename the table in the front-end without
breaking the link?
Many thanks.
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10148