[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

Close Databases

Posted on 1998-11-30
2
Medium Priority
?
142 Views
Last Modified: 2010-05-03
Clipper has a close databases command. Does Visual basic have a similiar command to close all open databases?
0
Comment
Question by:edmac
2 Comments
 

Author Comment

by:edmac
ID: 1447561
Edited text of question
0
 
LVL 2

Accepted Solution

by:
trillo earned 300 total points
ID: 1447562
Yes...
Use the "Close" method for your workspace object... It will close all databases belonging to your Workspace object, and all recordsets belonging to each one of the databases.

Trillo.
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

612 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