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

Compacting a backend Acess 2002

Hi all,
I have a situation where the backend of my database has thousands of
records pasted and deleted hourly. Because of this, the size it getting up
to around 100mb when after compacting goes back down to around 16mb. The
only time I can compact this is when everyone has logged out of the frontend
which doesn't happen too often. I have tried deleting the record locking
file .lbd but as the backend is in use, it will not delete.

I cannot find any way of 'forcing' the compact whilst people are using the
frontend other than finding everyone using it and asking them to logout.
The network is spread over quite a large area so this is not really
practical.

Is there a way I can force them out or get the backend to compact
automatically as soon as no-one is logged in?

Your help will be much appreciated.

Mark
Nov 12 '05 #1
2 1667
On Thu, 8 Apr 2004 07:41:36 +0100, "Mark Reed"
<ma*********@ntlworld.com> wrote:
You could write a separate app that monitors the existence of the LDB
file, for instance every time a timer tick occurs. Additionally you
could have Idle detection code in your app, that shuts down the app
after some time of non-activity. Or you could migrate to a database
like SQL Server that does not require compacts.

-Tom.
Hi all,
I have a situation where the backend of my database has thousands of
records pasted and deleted hourly. Because of this, the size it getting up
to around 100mb when after compacting goes back down to around 16mb. The
only time I can compact this is when everyone has logged out of the frontend
which doesn't happen too often. I have tried deleting the record locking
file .lbd but as the backend is in use, it will not delete.

I cannot find any way of 'forcing' the compact whilst people are using the
frontend other than finding everyone using it and asking them to logout.
The network is spread over quite a large area so this is not really
practical.

Is there a way I can force them out or get the backend to compact
automatically as soon as no-one is logged in?

Your help will be much appreciated.

Mark


Nov 12 '05 #2
"Mark Reed" <ma*********@ntlworld.com> wrote in
news:Pt6dc.12$Xc6.8@newsfe1-win:
Hi all,
I have a situation where the backend of my database has thousands of
records pasted and deleted hourly. Because of this, the size it getting
up to around 100mb when after compacting goes back down to around 16mb.
The only time I can compact this is when everyone has logged out of the
frontend which doesn't happen too often. I have tried deleting the
record locking file .lbd but as the backend is in use, it will not
delete.

I cannot find any way of 'forcing' the compact whilst people are using
the frontend other than finding everyone using it and asking them to
logout. The network is spread over quite a large area so this is not
really practical.

Is there a way I can force them out or get the backend to compact
automatically as soon as no-one is logged in?

Your help will be much appreciated.

Mark


I believe the code found at
http://ffdba.com/downloads.htm
as
Compact MDB of Linked Tables
will effect this. You could try putting it in a form's module and setting the
form's timer event to try it every whatever, 5 seconds or 5 minutes. If you
link to one table in your be, you could use a separate db altogether.
--
Lyle
(for e-mail refer to http://ffdba.com/contacts.htm)
Nov 12 '05 #3

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

Similar topics

2
by: Gary Wright | last post by:
I have a split db and want to allow the user of my application to compact and repair the back-end db from my app (not go into Access itself). I have tried to set the connection strings to all my...
2
by: Mark Reed | last post by:
Hi all, I have a situation where the backend of my database has thousands of records pasted and deleted hourly. Because of this, the size it getting up to around 100mb when after compacting goes...
7
by: JMCN | last post by:
Is this possible to have the 97 users with 97 front end, 2000 users with 2000 front end, 2002 users with 2002 front end, and 2003 users with 2003 front end all linked up to an access 97 backend? ...
9
by: Rob | last post by:
Scenario: O/S: Win XP Professional Back-end: Access 2002 on network server I have an Access 97 application, in production on our network, that takes appoximately 5 minutes to process monthly...
1
by: Odie | last post by:
Hi My employer sent me to school to learn acess 2002, I have started fast track classes at a technical institute, although I'm learning alot, I seem to be learning everything except what I need...
5
by: Fabrice | last post by:
Hello everybody, I'm working with Access 2002. I have to import Data from a Foxpro table that contains 25000 records in an Access table. I have a couple of restrictions placed on me for the...
1
by: tyr | last post by:
Hi I have a backend and frontend. A client of mine compacted the backend and some one tried to lock in ( I think this is what happened) and now we can't compact it anymore. I believe the...
7
by: DavidB | last post by:
I have a standard FE/BE database. I'd like to be able to have a button on each db that allows the admin to compact the database. I am using the following code to perform the compact. Private...
1
by: Slez via AccessMonster.com | last post by:
I do a routine compact and repair on a back end MS Access 2002 database. This time I had something peculiar occur. The compact started as normal, than the following error message popped up (I...
4
by: corey11 | last post by:
I'm a very low-level developer with limited VB knowledge but nonetheless was able to put together a very user-friendly and extremely helpful Access 97 database for my company some 10 years back. We...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
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...

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.