ACC: TransferDatabase Macro Action Does Not Replace TableLast reviewed: June 3, 1997Article ID: Q106187 |
The information in this article applies to:
SYMPTOMSModerate: Requires basic macro, coding, and interoperability skills. If you use a TransferDatabase macro action to transfer a table with the same name as an existing table in the destination database, the existing table will not be overwritten by the transferred table.
CAUSEIf the destination database contains a table with the same name as the table you are trying to transfer, Microsoft Access will give the transferred table a new name in the destination database. The new name will consist of the original table name plus a sequential number. For example, if you try to transfer a table named Categories to a database that already has a table with the same name, the newly transferred table will be named Categories1.
RESOLUTIONIf you want to replace an existing table using a TransferDatabase macro action, you first need to rename or delete the existing table in the destination database.
STATUSThis behavior no longer occurs in Microsoft Access 97.
MORE INFORMATION
Steps to Reproduce BehaviorNOTE: The following example assumes that Microsoft Access is installed in the C:\MsOffice\Access folder. If Microsoft Access is installed in a different folder on your computer, modify the example to refer to your Microsoft Access folder.
REFERENCESFor more information about the TransferDatabase action, search the Help Index for "TransferDatabase action." |
Keywords : IsmIea kbusage McrActn
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |