Access 2003 database in 2007, Rename not working

C

Clarie

DoCmd.Rename on a linked table does not rename the table. It does not raise
any errors either. This happens with Access 2007 runtime only. It works as
expected with Access Retail.

Is there a workaround for this issue?

Thanks
 
D

Douglas J. Steele

The appropriate way to rename a table is:

CurrentDb().TableDefs("OldName").Name = "NewName"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top