PC Review


Reply
Thread Tools Rate Thread

Compacting with multiple users

 
 
=?Utf-8?B?TGVl?=
Guest
Posts: n/a
 
      16th Feb 2006
Hello,

I was going to use the automatic compact function for my database. But I
was wondering if I have multiple users in the database at one time, whenever
one logs out of the database will it break. Thanks

and any suggestions
 
Reply With Quote
 
 
 
 
Graham Mandeno
Guest
Posts: n/a
 
      16th Feb 2006
Hi Lee

Do you mean the automatic "Compact on close" option? It will not fail if
the database is opened by someone else. It will just do nothing. The
database will be compacted when the last person closes it.

If you are talking about writing your own code to compact a back-end file,
what I do is move the file to a "Pre-Compact Backups" folder, and then
compact it back to the original location. If the file is opened by someone
else then the rename fails and the resulting error can be trapped and a
user-friendly message displayed.

--
Good Luck!

Graham Mandeno [Access MVP]
Auckland, New Zealand

"Lee" <(E-Mail Removed)> wrote in message
news:292B02AD-75BA-4CE9-8EE3-(E-Mail Removed)...
> Hello,
>
> I was going to use the automatic compact function for my database. But I
> was wondering if I have multiple users in the database at one time,
> whenever
> one logs out of the database will it break. Thanks
>
> and any suggestions



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
sharing excel sheet with multiple users, but other users cant see lana.b Microsoft Excel Misc 3 25th Jan 2009 11:15 AM
Multiple users, how can users view only their entries Marie-Lynn Microsoft Access 4 2nd Jul 2008 08:03 PM
Multiple Users & Multiple Computers using Outlook 2000 on Home Net =?Utf-8?B?QmlsbCBpbiBNaWNoaWdhbg==?= Microsoft Outlook Installation 3 3rd Jan 2007 05:01 PM
1) Compacting db w/multiple tables 2) "May not be Safe" message tmb Microsoft Access 3 20th Dec 2004 02:09 AM
Re: How to Use Multiple E-mail Accounts for Multiple Users in Outlook Express6 Georgia Delivasilis Microsoft Outlook 0 18th Jul 2003 07:01 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:51 AM.