473,405 Members | 2,272 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

RECOVER inadvertently deleted table from mdb?

MLH
Utilities to recover tbl removed from
TABLE tab of database window with
the DELETE key?
Jun 27 '08 #1
6 7763
Press Ctrl-Z while in the table tab to undo.

Chris
Microsoft MVP
MLH wrote:
>Utilities to recover tbl removed from
TABLE tab of database window with
the DELETE key?
--
Message posted via http://www.accessmonster.com

Jun 27 '08 #2
If undo doesn't work and you havn't closed the file, follow Microsoft's
instructions.

Access 2000, Access 2002, or Access 2003:
http://support.microsoft.com/default...;EN-US;Q209874

Access 95 or Access 97:
http://support.microsoft.com/default...;EN-US;Q179161

Chris
Microsoft MVP
Chris O'C wrote:
>Press Ctrl-Z while in the table tab to undo.

Chris
Microsoft MVP
>>Utilities to recover tbl removed from
TABLE tab of database window with
the DELETE key?
--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200805/1

Jun 27 '08 #3
MLH
On Tue, 27 May 2008 21:45:54 GMT, "Chris O'C via AccessMonster.com"
<u29189@uwewrote:
Yeah, good if, when you delete the table, you say "oops"
and press the key combo immediately.
>Press Ctrl-Z while in the table tab to undo.

Chris
Microsoft MVP
MLH wrote:
>>Utilities to recover tbl removed from
TABLE tab of database window with
the DELETE key?
Jun 27 '08 #4
MLH
Yeah, but if you've done ANYthing at all that writes to db, won't
work. Even creating the module, pasting the code to it and saving
it renders the table unrecoverable. I won't be without this code
snippett in my future endeavors. Repopulating the table was not
an enjoyable task. I was hoping some third party utility would
dig deeper & do a bit more. Thx 4 comments.

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx x

On Tue, 27 May 2008 21:55:04 GMT, "Chris O'C via AccessMonster.com"
<u29189@uwewrote:
>If undo doesn't work and you havn't closed the file, follow Microsoft's
instructions.

Access 2000, Access 2002, or Access 2003:
http://support.microsoft.com/default...;EN-US;Q209874

Access 95 or Access 97:
http://support.microsoft.com/default...;EN-US;Q179161

Chris
Microsoft MVP
Chris O'C wrote:
>>Press Ctrl-Z while in the table tab to undo.

Chris
Microsoft MVP
>>>Utilities to recover tbl removed from
TABLE tab of database window with
the DELETE key?
Jun 27 '08 #5
I just tested your theory, and I was able to recover my deleted table. This
is what I did: I copied a working Access 2K mdb file, and opened the copy.
I created a new test table, then deleted it. Then I deleted another table.
Then I created a new query, a new form and a new module. In the new module,
I copied the code from the Access 2K recovery method and pasted it into the
module, saved and compiled. Then I created another new table. All of these
activities wrote to the db file.

I ran the code and recovered not only the table I deleted, but the first test
table I created and deleted.

So you must have done something more than just write to the db in a new
module for the code to fail. Did you close the db prior to the recovery?
The code won't work if you close, then reopen the db.

You can find services on the Internet that will recover your deleted table,
but they're expensive. It's best to have recent backups.

Chris
Microsoft MVP
MLH wrote:
>Yeah, but if you've done ANYthing at all that writes to db, won't
work. Even creating the module, pasting the code to it and saving
it renders the table unrecoverable. I won't be without this code
snippett in my future endeavors. Repopulating the table was not
an enjoyable task. I was hoping some third party utility would
dig deeper & do a bit more. Thx 4 comments.

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xx
>>If undo doesn't work and you havn't closed the file, follow Microsoft's
instructions.
[quoted text clipped - 16 lines]
>>>>TABLE tab of database window with
the DELETE key?
--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200805/1

Jun 27 '08 #6
MLH
You must be right. Proof is in the results. On my end, I had the
presence of mind (after doing the dastardly deed) to NOT close
the database. I realized instantly what I'd done. I had copied
it to a table of another name (CTRL-C ; CTRL-V) but didn't take
a moment to notice that I'd copied STRUCTURE only - no data.
As I recall, I opened browser, searched MSoft for a solution.
Found one. Copied / Pasted / Compiled / No errors / Crossed
Fingers / Tested & failed miserably.

R U running A97? Is there any autosave feature that I might
have enabled that could have screwed me?

Thx for your exhaustive test report.
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxx
On Wed, 28 May 2008 15:14:22 GMT, "Chris O'C via AccessMonster.com"
<u29189@uwewrote:
>I just tested your theory, and I was able to recover my deleted table. This
is what I did: I copied a working Access 2K mdb file, and opened the copy.
I created a new test table, then deleted it. Then I deleted another table.
Then I created a new query, a new form and a new module. In the new module,
I copied the code from the Access 2K recovery method and pasted it into the
module, saved and compiled. Then I created another new table. All of these
activities wrote to the db file.

I ran the code and recovered not only the table I deleted, but the first test
table I created and deleted.

So you must have done something more than just write to the db in a new
module for the code to fail. Did you close the db prior to the recovery?
The code won't work if you close, then reopen the db.

You can find services on the Internet that will recover your deleted table,
but they're expensive. It's best to have recent backups.

Chris
Microsoft MVP
MLH wrote:
>>Yeah, but if you've done ANYthing at all that writes to db, won't
work. Even creating the module, pasting the code to it and saving
it renders the table unrecoverable. I won't be without this code
snippett in my future endeavors. Repopulating the table was not
an enjoyable task. I was hoping some third party utility would
dig deeper & do a bit more. Thx 4 comments.

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxx
>>>If undo doesn't work and you havn't closed the file, follow Microsoft's
instructions.
[quoted text clipped - 16 lines]
>>>>>TABLE tab of database window with
>the DELETE key?
Jun 27 '08 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Eddy Fontaine | last post by:
Hi there, Could somebody post some simple example how one can refer to a column in the 'deleted' temporary table within a trigger definition ? Should the 'deleted' and 'inserted' temp tables be...
11
by: MLH | last post by:
I don't know how it happened. I have hundreds of hours worth of work invested in a file I foolishly named DB9.mdb. I was intending on renaming the file soon. But I neglected to do so before...
3
by: Cillies | last post by:
Hello, I have managed to delete a database, but I don't know when, it was sometime in the last 2 months. I have not created a back up. So should I start looking for a new job.
2
by: Helmut Blass | last post by:
hi folks, in the course of my Access project (ACC2000) I created a temporary table which I deleted after it was no longer needed. now, each time I start Access, I am getting annoyed with the...
0
by: Patrick.O.Ige | last post by:
How to: Recover a Deleted Item from Visual Studio 2003?
14
by: DavidOwens | last post by:
Hi there everybody iv designed a database, curently when the delete button is pushed, it deletes the record completly, but i dont want that i want it to just disable the dispenser. iv crreated,...
1
by: Rendladas | last post by:
Dear all, please help me. How to recover the deleted fields in postgre sql table with values from bakup. please help with each step/syntax. thanq, ...Das
3
by: Craggy | last post by:
I cant beleive what ive just done. I have just deleted the main form for my database and there is no back up at all. (i know, i know) Is there any way I can recover this? I have closed the...
2
by: jagdeep gupta | last post by:
I delete a control(TextBox) from toolBox by accident, but not getting how to get it back at there please help me to recover.
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.