How to open two LibraryManager databases at the same time?
I need to compare two LibraryManager databases and copy some data from one to another. I can open one, save some data into collection, close, open another and compare collection with another. Is there way without an additional collection?
I do the next:
jobSource = "/home/al1/pub/projects/al1-2163/Central_Library_2/Central_Library_2.lmc"
jobDestination = "/home/al1/pub/projects/xxx/Central_Library_2/Central_Library_2.lmc"
' Opening base 1
Set appObjSrc = CreateObject("MGCPCBLibraries.PartsEditorDlg")
Set libObjSrc = appObjSrc.OpenDatabaseEx(jobSource,False)
' Opening base 2
Set appObjDst = CreateObject ("MGCPCBLibraries.PartsEditorDlg")
Set libObjDst = appObjDst.OpenDatabaseEx(jobDestination,False)
After I open the base 2, libObjSrc destroyed and I can't read it. If I comment opening the base 2 - libObjSrc can be read.
Is there any solution?