473,394 Members | 1,785 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,394 software developers and data experts.

COMPACTING AND REPAIRING DATABASE

I get this error message when trying to compact and repair my database:
(Could not find field "Description"). When I clicked on Help, the error message number comes up as (Error 3799) It's the first time I see this. Help anyone?

--
Message posted via http://www.accessmonster.com
Nov 13 '05 #1
3 6732
On Mon, 24 Jan 2005 18:12:29 GMT, "Ken Davis via AccessMonster.com"
<fo***@AccessMonster.com> wrote:
I get this error message when trying to compact and repair my database:
(Could not find field "Description"). When I clicked on Help, the error message number comes up as (Error 3799) It's the first time I see this. Help anyone?

--
Message posted via http://www.accessmonster.com

Hi
All I can find is
"The table definition in one of the tables is damaged. ... First try
running the Access Repair option. If this doesn't work then you will
then want to extract all non-corrupted tables into a new access
database. Using the import option. Then reconstruct the damaged table.

(Or use a backup!)

David

Nov 13 '05 #2
I am guessing that "Description" is a memo field.

Every time I had problems with Compact and Repair has been because of a
corrupted memo field. Confirm this by opening the table, page down though
the table looking for <Error> in the description field. "DO NOT" make the
corrupted record current, or Access will most likely crash.

If you have a backup, restore it and check if the corruption is in the
backup. If it is, you will need to recreate the table. Rename the damaged
table and create a new empty one. Copy the records up-to the corrupted one
using copy and paste. Continue looking at the old table for more corrupted
records. Cut and paste the good ones into your new table. Manually enter the
data from the corrupted records into you new table. Next rebuild your
relationships linking in the new table an unlinking the old. Note: make sure
all relationships are shown. You should now be able to delete the corrupted
table and run Repair on the database.

Others have posted that linking a memo field to a form can lead to
corruption. I have headed this warning and now use unbound controls for all
memo fields, then write out the data in the after update event. The result
has been no new corruptions of this type, where I used to get 1 or 2 a year.
"Ken Davis via AccessMonster.com" <fo***@AccessMonster.com> wrote in message
news:e7******************************@AccessMonste r.com...
I get this error message when trying to compact and repair my database:
(Could not find field "Description"). When I clicked on Help, the error message number comes up as (Error 3799) It's the first time I see this.
Help anyone?
--
Message posted via http://www.accessmonster.com

Nov 13 '05 #3
ridsel
1
I'm getting the same error, and yet I have no field called "Description" anywhere. I can't look through manually to find which table has the corruption, as many are 50k records long. Tips for finding the corruption location?

I am guessing that "Description" is a memo field.

Every time I had problems with Compact and Repair has been because of a
corrupted memo field. Confirm this by opening the table, page down though
the table looking for <Error> in the description field. "DO NOT" make the
corrupted record current, or Access will most likely crash.

If you have a backup, restore it and check if the corruption is in the
backup. If it is, you will need to recreate the table. Rename the damaged
table and create a new empty one. Copy the records up-to the corrupted one
using copy and paste. Continue looking at the old table for more corrupted
records. Cut and paste the good ones into your new table. Manually enter the
data from the corrupted records into you new table. Next rebuild your
relationships linking in the new table an unlinking the old. Note: make sure
all relationships are shown. You should now be able to delete the corrupted
table and run Repair on the database.

Others have posted that linking a memo field to a form can lead to
corruption. I have headed this warning and now use unbound controls for all
memo fields, then write out the data in the after update event. The result
has been no new corruptions of this type, where I used to get 1 or 2 a year.


"Ken Davis via AccessMonster.com" <forum@AccessMonster.com> wrote in message
news:e7b4dc17de874df6a3f2b71858455084@AccessMonste r.com...[color=blue]
> I get this error message when trying to compact and repair my database:
> (Could not find field "Description"). When I clicked on Help, the error[/color]
message number comes up as (Error 3799) It's the first time I see this.
Help anyone?[color=blue]
>
> --
> Message posted via http://www.accessmonster.com[/color]
Jul 11 '06 #4

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

Similar topics

2
by: ColinWard | last post by:
Hi I have a database that I would like to be able to compact when the exit button on the main form is clicked. Can anyone help with this? TIA Colin *** Sent via Developersdex...
1
by: ColinWard | last post by:
I use the following code that I found on the Access Web to allow a user to compct the database from a command button and it works great.I am able to pass the user a message before the routine runs...
0
by: John H | last post by:
I have an Access 2002 database (1 table, 250 fields, 220 records) from which I can't export to .csv format. It exports about half the records, and then I get a dialog that tells me that the...
5
by: lappy | last post by:
Hello, I have written a small programme to compact an access 97 database. Dim je As New JRO.JetEngine ' Compacts database Data.Mdb to Data2.mdb. je.CompactDatabase...
2
by: Simon Johnson | last post by:
Hi all, I'm writing a program that does a lot of table droping and updating.. After i've performed these steps it would be nice to run the compact and repair function on the database. How can I...
5
by: Nathan | last post by:
Hello, I've been using the interop.jro.dll to compact the Access database my aplication uses. After setting a password for the database and changing my oledb connection settings to include that...
6
by: tara99 | last post by:
Can any one tell me what does compacting do? Regards, Tara
3
by: DSSMaster | last post by:
I am trying to use windows scheduler to compact a database. In the task run line I have the following: "C:\Program Files\Microsoft Office\OFFICE11 MSACCESS.EXE" _ "C:\Files\Access\Sacroc.mdb"...
1
by: hawaiijeff | last post by:
I have an access database with some VBA code. The vba code is started by a macro and basically deletes rows from tables and loads new data from an external file. After that VBA code has run I would...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.