Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

CLOSE VS QUIT to exit a database

Posted on 2006-05-10
3
Medium Priority
?
331 Views
Last Modified: 2012-06-27
Which of these (close or quit) would work the best to exit a database in a multi-user environment where the data (be) is being accessed through a VB interface over a lan from more than one office?  
Or doesn't it make a difference?
We're having some lockfiles hang recently and I was wondering if this could be a problem.
The database was created with some forms having the "X" in the upper right hand corner to close and some having a "return to main menu" and then "exit the app" buttons.

Thanks.

0
Comment
Question by:tresrckr
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 9

Accepted Solution

by:
ajkamp earned 500 total points
ID: 16652171
I don't think it makes much of a difference unless you want to run other commands or operations prior to shutdown, then you'd need to use "exit app" buttons.

0
 
LVL 9

Expert Comment

by:ajkamp
ID: 16652217
Access closes all objects when the application is closed (outside of using the task manager) in reverse order (I think) so it shouldn't leave any locking files open unless the app didn't close properly and it has hung in memory.
0
 

Author Comment

by:tresrckr
ID: 16659229
Thanks and we also found this.................
The issue we were having (or part of it) with the LDB files had to do with users having different permission levels on the folder where the database is located.
If someone had READ/WRITE/EXECUTE but not DELETE the ldb file was created but not deleted when the database closed.  
In addition when someone with READ only permission opened the database (first) NO ldb was created and users coming afterword that had more permission were given the "You won't be able to save changes, this database is READ ONLY".

In the past the databases were seldom shared outside of a single (or few) locations.  Permissions were granted to a specific group created at that time.  Now that we are sharing the data with many offices the ldb file has become more of an issue.
0

Featured Post

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question