Skip to main content

Close all databases

Hello,
Part of a script I am working on includes a direct extraction.  I want to close both the original database and the extraction database once the extraction is complete.  I added Close but that only closes the extraction database (script attached).  I also tried Close All but obtained the same result.  My apologies if this answer exists somewhere on your site already.  I tried several searches and wasn't able to find it.  Thank you very much!  
Holly
 
 

hueland Mon, 12/05/2016 - 15:58

Hello again,
I found the answer:  Client.CloseAll
I didn't know about the Language Browser - that's where the answer was.  
Holly

Brian Element Tue, 12/06/2016 - 06:04

Hi Holly,

You will find the Language Browser very useful.  I usually have it open when I am doing any type of scripting as I have a bad memory and having this as a reference for the syntax is very handy.

Brian