<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:robert@familiegrosskopf.de" title="robert@familiegrosskopf.de">robert@familiegrosskopf.de</a>
</span> changed
          <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - "DataSource.ConnectWithCompletion" function not working since 6.x"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=115988">bug 115988</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>robert@familiegrosskopf.de
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - "DataSource.ConnectWithCompletion" function not working since 6.x"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=115988#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - "DataSource.ConnectWithCompletion" function not working since 6.x"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=115988">bug 115988</a>
              from <span class="vcard"><a class="email" href="mailto:robert@familiegrosskopf.de" title="robert@familiegrosskopf.de">robert@familiegrosskopf.de</a>
</span></b>
        <pre>Have tried this one with OpenSUSE 42.3 64bit rpm Linux and LO 6.0.0.3, LO
6.0.1.1 and LO 6.0.2.1

I changed the code, because there are many lines without any function for the
bug-description:

SUB ConnectDB
oDatasource = ThisComponent.DataSource
If Not oDatasource.IsPasswordRequired Then
Connection = oDatasource.GetConnection("","")
Else
InteractionHandler = createUnoService("com.sun.star.sdb.InteractionHandler")
Connection = oDatasource.ConnectWithCompletion(InteractionHandler) 
End If
END SUB

There must be an external database, which needs a username and password. I
tried with MariaDB on my system.

I put the code into the *.odb-file, started the code and got the dialog for
input password. No problems here with any tested LO-version to connect to the
MariaDB this way.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>