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

MS Access 97 DB Corrupts after Compact

Hi,

I am responsible for maintaining an MS Access 97 Database that reliably
becomes corrupt following a compact.........

About the Database:
The database is made up of three linked databases, data, input and
output. The files all share the same table structures. Recently the
input database started growing in size and it became necessary to
compact the databases more frequently. Following the compact of the
input file the data file will corrupt shortly after.

Question:
When I perform the compact operation should I be compacting all three
components of the database system (data, input and output). My concern
is that when I compact the input file, I am changing the table of the
input file and not making the changes to the data file, which I guess
would cause a corruption.

Also if anyone could give me some ideas to why the input side (User
input forms, queries) of a database system significantly grows in size
this will help in reducing the problems that I am currently
experiencing

Any advice about the correct compacting procedures for a database
structure like the above would be much appreciated. Also if anyone has
any links or information about how the JET engine handles compact
procedures in the linked table situation it would be useful to have a
look at them.

Owen Goodhew

Nov 17 '05 #1
6 2290
Br
ow*********@gmail.com wrote:
Hi,

I am responsible for maintaining an MS Access 97 Database that
reliably becomes corrupt following a compact.........

About the Database:
The database is made up of three linked databases, data, input and
output. The files all share the same table structures. Recently the
input database started growing in size and it became necessary to
compact the databases more frequently. Following the compact of the
input file the data file will corrupt shortly after.
Sounds like it is corrupted to start with. I'd recreate the input file.
Create a new db and import the tables/etc.
Question:
When I perform the compact operation should I be compacting all three
components of the database system (data, input and output). My
concern is that when I compact the input file, I am changing the
table of the input file and not making the changes to the data file,
which I guess would cause a corruption.

No, shouldn't be a problem.
Also if anyone could give me some ideas to why the input side (User
input forms, queries) of a database system significantly grows in size
this will help in reducing the problems that I am currently
experiencing
I assume you are inputting data and then processing it, then perhaps
deleting the input data? Access grabs "chunks" of space when needed and
does not release it when objects are removed (until you do a compact).
Any advice about the correct compacting procedures for a database
structure like the above would be much appreciated. Also if anyone
has any links or information about how the JET engine handles compact
procedures in the linked table situation it would be useful to have a
look at them.


I don't think it makes any difference (expect if you are talking about
if the file is in use). You should compact all you data files as a
regular general maintenance.
--
regards,

Bradley

A Christian Response
http://www.pastornet.net.au/response
Nov 17 '05 #2
You say the 3 databases (MDB files?) share the same "table structure".
Does this mean that the data is distributed across all 3 MDBs?
Or are all the tables in the "data file", with the input and output files
linking to it?

<ow*********@gmail.com> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
Hi,

I am responsible for maintaining an MS Access 97 Database that reliably
becomes corrupt following a compact.........

About the Database:
The database is made up of three linked databases, data, input and
output. The files all share the same table structures. Recently the
input database started growing in size and it became necessary to
compact the databases more frequently. Following the compact of the
input file the data file will corrupt shortly after.

Question:
When I perform the compact operation should I be compacting all three
components of the database system (data, input and output). My concern
is that when I compact the input file, I am changing the table of the
input file and not making the changes to the data file, which I guess
would cause a corruption.

Also if anyone could give me some ideas to why the input side (User
input forms, queries) of a database system significantly grows in size
this will help in reducing the problems that I am currently
experiencing

Any advice about the correct compacting procedures for a database
structure like the above would be much appreciated. Also if anyone has
any links or information about how the JET engine handles compact
procedures in the linked table situation it would be useful to have a
look at them.

Owen Goodhew

Nov 18 '05 #3
Hi,

Thanks for your response......

The data mdb is the main file. The input and output mdb files are
linked to the data file. The input/output mdb files have been used so
that the data and forms/tables/queries are kept seperate.

Regards,

Owen Goodhew

Nov 18 '05 #4
Hi,

Thanks for your response......

The data mdb is the main file. The input and output mdb files are
linked to the data file. The input/output mdb files have been used so
that the data and forms/tables/queries are kept seperate.

Regards,

Owen Goodhew

Nov 18 '05 #5
Isn't the data in tables?
(You said it was separate from the "forms/tables/queries")

<ow*********@gmail.com> wrote in message
news:11*********************@g43g2000cwa.googlegro ups.com...
Hi,

Thanks for your response......

The data mdb is the main file. The input and output mdb files are
linked to the data file. The input/output mdb files have been used so
that the data and forms/tables/queries are kept seperate.

Regards,

Owen Goodhew

Nov 18 '05 #6
Br
ow*********@gmail.com wrote:
Hi,

Thanks for your response......

The data mdb is the main file. The input and output mdb files are
linked to the data file. The input/output mdb files have been used so
that the data and forms/tables/queries are kept seperate.

Regards,

Owen Goodhew


Sounds confusing...

Perhaps give us an example of the objects and their use in each MDB
file....?
--
regards,

Bradley

A Christian Response
http://www.pastornet.net.au/response
Nov 19 '05 #7

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

Similar topics

28
by: deko | last post by:
After doing a lot of vba work, I've noticed the size of my mdb has grown, even though no data or objects have been added. I've read that the following procedure will remedy this and improve...
2
by: Hannu | last post by:
Hello. We have about 20 users in our Access databases. Sometime databases corrupts and are not available. I have to correct them. It is not nice, because you have to ask every user to close...
2
by: Smriti Dev | last post by:
Hi, I wanted find out if it is possible to have many users access an access database and add records using forms. I'm worried their might be data corruption. I will have about 5 users using the...
1
by: Paul Wagstaff | last post by:
Hi folks, Please forgive me - this straddles Access & Word '97 If I could, I'd send a (approx 1000 records) recordset to Word, mailmerge it & save the new document. However, Word's...
1
by: Heather | last post by:
I am trying to open a report in my Access 97 database to open as view:125% for the default. Thank you in advance.
9
by: Jeff | last post by:
This a little strange. The link in a FE database get corrupted when the BE get compacted, and the FE is not even open. I have checked. The data is fine in the BE. The data is fine in the link...
13
by: Owen Jenkins | last post by:
Following on from an earlier post... I can reliably corrupt a record by doing the following ... Open two separate but identical front ends on one PC each linking to the same back end. Edit a...
2
by: John Bartley K7AAY | last post by:
When I output a table's values to XLS, one value in a very small table, and only one value, is changed. Here are the values in the table, tblLevel. LEVEL H-14 0 1 1.1
1
by: RussCRM | last post by:
Whenever I try to backup my database or compact it, I get the "Microsoft Access has encountered a problem and needs to close" deal with the option to repair. When I attempt to do that, it tries to...
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...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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
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...
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
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.