Close all databases

3 posts / 0 new
Last post
hueland
Offline
Joined: 11/29/2016 - 12:51
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
Offline
Joined: 11/29/2016 - 12:51

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's picture
Brian Element
Offline
Joined: 07/11/2012 - 19:57

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