I was wondering if anyone knows of a way to program a macro to disconnect a data source.
The reason I ask is that I am currently running a separate application which exports the data for a merge in a text file. The problem is that there are multiple times a day that a merge needs to be run, however after the first time the data file is accessed by OO it is locked until the data source is disconnected.
I appreciate any help.
[Solved] Using Programming to disconnect a data source
[Solved] Using Programming to disconnect a data source
Last edited by mbeamer on Mon Dec 03, 2007 9:35 pm, edited 1 time in total.
Re: Using Programming to disconnect a data source
The oooforum gave this result: http://www.oooforum.org/forum/viewtopic.phtml?t=10399
connection.close() does the trick.
connection.close() does the trick.
LibreOffice 25.8.4.2 on Ubuntu Linux
If your problem has been solved or your question has been answered, please edit the first post in this thread and add [Solved] to the title bar.
Nederlandstalig forum
If your problem has been solved or your question has been answered, please edit the first post in this thread and add [Solved] to the title bar.
Nederlandstalig forum