RunCommand acCmdLinkTables Fails in Access 2007 (Error 2046)
- From: tony.abbitt@xxxxxxxxxxx
- Date: Thu, 10 Jan 2008 14:21:45 -0800 (PST)
I have recently installed Office 2007 (SP1) retaining the previous
installation of Office 2003.
I have converted an Access 2003 database to Access 2007. The database
contains the VBA code 'DoCmd.RunCommand acCmdLinkTables' to initiate
the dialog box to rebuild links to tables held in a back-end Access
database (which has also been converted from Access 2003 to Access
2007).
The code runs without problem in the original Access 2003 .mdb format
under Access 2003, yet when run in either Access 2003 .mdb format or
Access 2007 .accdb format under Access 2007 returns error 2046 with
the description 'The command or action 'LinkTables' isn't available
now.'
Refreshing the table links 'manually' in Access 2007 via the Ribbon
(External Data / Access) runs without error.
Any ideas welcomed!
Thanks, Tony.
.
- Follow-Ups:
- Re: RunCommand acCmdLinkTables Fails in Access 2007 (Error 2046)
- From: Allen Browne
- Re: RunCommand acCmdLinkTables Fails in Access 2007 (Error 2046)
- Prev by Date: Re: access scalability question
- Next by Date: List of Incomplete Records
- Previous by thread: can't find where to change data type
- Next by thread: Re: RunCommand acCmdLinkTables Fails in Access 2007 (Error 2046)
- Index(es):
Relevant Pages
|