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

Compact on close not happening

The back end is on a server. Compact on close is set on, but on the clients
server isn't happening, though no errors are being generated. On my machine
here Compact On Close happens fine.

Is this an NT permissions thing?

Cheers, Mike
Nov 12 '05 #1
6 1632
CDB
The BE is not "opened/closed" by an FE using linked tables from it.v How are
you opening the back end db?

Clive

"Mike MacSween" <mi***********************@btinternet.com> wrote in message
news:40***********************@news.aaisp.net.uk.. .
The back end is on a server. Compact on close is set on, but on the clients server isn't happening, though no errors are being generated. On my machine here Compact On Close happens fine.

Is this an NT permissions thing?

Cheers, Mike

Nov 12 '05 #2
"CDB" <al***@delete.wave.co.nz> wrote in message
news:c5**********@news.wave.co.nz...
The BE is not "opened/closed" by an FE using linked tables from it.
Thanks, I didn't know that.
How are
you opening the back end db?
FE links to BE tables.

There's a temp table being written I think. Needs to be in the FE?

Cheers, Mike
Clive

"Mike MacSween" <mi***********************@btinternet.com> wrote in message news:40***********************@news.aaisp.net.uk.. .
The back end is on a server. Compact on close is set on, but on the

clients
server isn't happening, though no errors are being generated. On my

machine
here Compact On Close happens fine.

Is this an NT permissions thing?

Cheers, Mike


Nov 12 '05 #3
CDB
Temp tables can exist in the FE, or as David Fenton propounds with good
reason, in a separate local mdb created and destroyed for each session. Or
only in memory.

In a multi-user situation, having two people using what they think is "my"
table in a BE could be disastrous.

Clive
"Mike MacSween" <mi***********************@btinternet.com> wrote in message
news:40***********************@news.aaisp.net.uk.. .
"CDB" <al***@delete.wave.co.nz> wrote in message
news:c5**********@news.wave.co.nz...
The BE is not "opened/closed" by an FE using linked tables from it.


Thanks, I didn't know that.
How are
you opening the back end db?


FE links to BE tables.

There's a temp table being written I think. Needs to be in the FE?

Cheers, Mike
Clive

"Mike MacSween" <mi***********************@btinternet.com> wrote in

message
news:40***********************@news.aaisp.net.uk.. .
The back end is on a server. Compact on close is set on, but on the

clients
server isn't happening, though no errors are being generated. On my

machine
here Compact On Close happens fine.

Is this an NT permissions thing?

Cheers, Mike



Nov 12 '05 #4
"Mike MacSween" <mi***********************@btinternet.com> wrote:
FE links to BE tables.
There's a temp table being written I think. Needs to be in the FE?


See the TempTables.MDB page at my website which illustrates how to use a temporary
MDB in your app. http://www.granite.ab.ca/access/temptables.htm

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Nov 12 '05 #5
"Mike MacSween" <mi***********************@btinternet.com> wrote:
The back end is on a server. Compact on close is set on, but on the clients
server isn't happening, though no errors are being generated. On my machine
here Compact On Close happens fine.


When the user exits the FE attempt to rename the backend MDB preferably with todays
date in the name in yyyy-mm-dd format. Ensure you close all bound forms, including
hidden forms, and reports before doing this. If you get an error message, oops, its
busy so don't bother. If it is successful then compact it back.

See my Backup, do you trust the users or sysadmins? tips page for more info.
http://www.granite.ab.ca/access/backup.htm

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Nov 12 '05 #6
Thanks for the tips Tony.

You're right, I should be doing my temp tables somewhere else.

Cheers, Mike
"Tony Toews" <tt****@telusplanet.net> wrote in message
news:62********************************@4ax.com...
"Mike MacSween" <mi***********************@btinternet.com> wrote:
The back end is on a server. Compact on close is set on, but on the clientsserver isn't happening, though no errors are being generated. On my machinehere Compact On Close happens fine.
When the user exits the FE attempt to rename the backend MDB preferably

with todays date in the name in yyyy-mm-dd format. Ensure you close all bound forms, including hidden forms, and reports before doing this. If you get an error message, oops, its busy so don't bother. If it is successful then compact it back.

See my Backup, do you trust the users or sysadmins? tips page for more info. http://www.granite.ab.ca/access/backup.htm

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm

Nov 12 '05 #7

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

Similar topics

13
by: James Franklin | last post by:
Hi, I have a number of databases in A2K, written on different machines with different installations of Office. I have found that compacting a database while it is open regularly fails, seemingly...
9
by: Mike MacSween | last post by:
The back end is on a server. Compact on close is set on, but on the clients server isn't happening, though no errors are being generated. On my machine here Compact On Close happens fine. Is...
1
by: smitty mittlebaum | last post by:
I have a strange problem that has reared its ugly head in the last few weeks. I have the option "Compact on Close" (Tools, Options, General tab) enabled on my development machine. I did this...
1
by: Mark | last post by:
Hi all, I have a Access 2002 FE/BE scenario where the BE is stored on a network drive. Due to the amount of importing/deleting, the database bloats quite a lot. UP until now, I have been booting...
1
by: robert demo via AccessMonster.com | last post by:
In my startup routine, I have the following code: s = CLng(FileLen(filespec) / 1000000) If s > 5 Then 'FIRST, BACKUP THE FRONT END If BackupFrontEnd = False Then Exit Function End If
2
by: Riley DeWiley | last post by:
I have a C++/OleDB project that is compacting an access db on-the-fly. I close all my sessions, and close the DB. When I call IJetCompact::Compact(), I get back E_FAIL. The same file, when pulled...
9
by: Ron | last post by:
New discovery. If I take a perfectly good database, and "compact/repair" on it with Access 2000 (seems to be at multiple sites--I've tried it with my system here, at another office on an...
2
by: RZ15 | last post by:
Hi, I was working on a query this morning and everything was working fine. Some time in the last half hour, I used the Compact & Repair Database feature. After that, when I went to open the query...
29
by: Neil | last post by:
I would like to compact on close only if the database size goes over a certain amount, rather than each time. Thus, I'd like to check the file size and then perform the compact through code as the...
2
by: Icarus | last post by:
I've got several Access 2000 databases that are currently being run with Access 2007. When the databases close, I've got them set to compact on close. This creates the database1.mdb file,...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
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...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.