Solved

#deleted rowsc access 2010 backend

Posted on 2016-11-04
4
63 Views
Last Modified: 2016-11-07
A row of data in one of our table seems to have corrupted. f I delete it, it vanishes, then reappears when I reopen the table. I did a compact and repair which permanently removed the troublesome row - but its had other impacts on the database, i.e. wont let users add new rows via the FE, and seems to of stripped a primary key for some reason. I do have backups, some before that dodgy row was in the table, but reverting back is going to lose a lot of data. Is there any other technique rather than compact and repair to get rid of it?
0
Comment
Question by:pma111
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 57

Accepted Solution

by:
Jim Dettman (Microsoft MVP/ EE MVE) earned 250 total points
ID: 41873837
<<Is there any other technique rather than compact and repair to get rid of it?>>

 Rebuilding the table manually by:

1. Creating a new blank table from the old (export/import structure only).
2. Using append query's to copy the data expect for the bad rows using where criteria.

 But depending on the table, it can be a struggle to do this (ie. autonumber key with that key in other tables, data in related tables, etc).

 A backup is usually the simplest and fastest, but then you do loose some data.

Jim.
0
 
LVL 17

Assisted Solution

by:John Tsioumpris
John Tsioumpris earned 250 total points
ID: 41873869
Just export the data to another table...compact & repair and then reinsert missing data
0
 
LVL 3

Author Comment

by:pma111
ID: 41873873
there is no missing data, just a table with a #deleted row.

Surely if I just move it to another table it will still cause the same issue, as it will repair and comapct the whole database. Or did you mean to transfer the table to another database, and R&C on that, then copy that data into the main database?
0
 
LVL 57
ID: 41873899
<<Or did you mean to transfer the table to another database, and R&C on that, then copy that data into the main database?>>

 Yes, or name the table differently "MyTableNew" while working with it, then when done, delete the original and rename the new to the original name.

Jim.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question