<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:serval2412@yahoo.fr" title="Julien Nabet <serval2412@yahoo.fr>"> <span class="fn">Julien Nabet</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Base Documenter: Crash while documenting a database and trying to open forms"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=143081">bug 143081</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>serval2412@yahoo.fr
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Base Documenter: Crash while documenting a database and trying to open forms"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=143081#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Base Documenter: Crash while documenting a database and trying to open forms"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=143081">bug 143081</a>
              from <span class="vcard"><a class="email" href="mailto:serval2412@yahoo.fr" title="Julien Nabet <serval2412@yahoo.fr>"> <span class="fn">Julien Nabet</span></a>
</span></b>
        <pre>On pc Debian x86-64 with master sources updated today, it fails to create a
BaseDocumenter repository because of the error
"Object variable not set" there:

Dim iTables As Integer, bReinit As Boolean, iMaster As Integer

        InitRepository = False
        If IsNull(Repository) Then GoTo Exit_Function

        With Repository
                'Identify if repo should be (re)initialized
                bReinit = False
                iTables = .TableDefs().Count
                If iTables = 0 Then
                        bReinit = True
                ElseIf iTables = 2 Then
                        'Do nothing if the database is not a repository !!
                        If .TableDefs(0).Name <> "DATABASES" Or
.TableDefs(1).Name <> "OBJECTS" Then Set Repository = Nothing
                Else
                        Set Repository = Nothing
                End If

                'Check if a master database record exists
                If Not bReinit Then
   iMaster = .DCount("ID", "DATABASES", "ID=0") <<<<<<< THERE


So can't test the crash.</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>