https://bugs.documentfoundation.org/show_bug.cgi?id=117120

--- Comment #6 from Thomas Krumbein <t...@mic-consulting.de> ---
sorry, it doesn´t help just to close the bug and explain, it is just a
duplicate.

And yes, same problematic, but different aspect:

Description:
using a base hsqldb file as a data source causes a pop-up message "Confirm
Migration". 
This may be ok, if a user open a base file first time, but unfortunartly this
massage appears every time, when you call a connection via macro.

macro stops at this moment and it is never a good idea, when users will migrate
at this time!

Remove this message imitatively! 


Steps to Reproduce:
1. register a base file with hsqldb as darta-source

2. write a macro, with uses data out of the database. therefor connect to
database 

Function knp_getConnection_BaseDok
  Dim oDBC As Variant
  Dim oDataSource As Variant
On Error Goto Fehler:
  oDBC = createUnoService("com.sun.star.sdb.DatabaseContext")
  oDataSource = oDBC.getByName("NameofDataSource")
  knp_getConnection_BaseDok = oDataSource.getConnection("","")
Fehler:
End Function

3. run macro - 

Actual Results:
popup message appears at every connection call and every data-transfer

Expected Results:
no popup at all!!


Reproducible: Always

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to