ACC: How to Recover a Table Deleted from a Database (179161)
The information in this article applies to:
- Microsoft Access for Windows 95 7.0
- Microsoft Access 97
This article was previously published under Q179161
Moderate: Requires basic macro, coding, and interoperability skills.
SUMMARY
This article shows you how to create a sample Visual Basic for Applications
function that you can use to recover a table deleted from a Microsoft Access for Windows 95 and Microsoft Access 97 database under the following conditions:
- The database has not been closed since the deletion of the table.
- The database has not been compacted since the deletion of the table.
- The table was deleted using the Microsoft Access user interface.
NOTE: If multiple tables have inadvertently been deleted, this function
recovers only the last table that was deleted. The other tables are lost.
Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements. REFERENCES
For more information about TableDefs, search the Help Index for "Tabledef
Object."
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbhowto kbProgramming KB179161 |
---|
|