<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Firebird: empty columns gone with query"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=116890#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Firebird: empty columns gone with query"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=116890">bug 116890</a>
              from <span class="vcard"><a class="email" href="mailto:gerhard.schaber@gmx.at" title="Gerhard Schaber <gerhard.schaber@gmx.at>"> <span class="fn">Gerhard Schaber</span></a>
</span></b>
        <pre>I have managed to make it work. Usually I use the results of an executed query
to get the columns. I am not sure why I used the columns of the prepared
statement here.

Does not work:
oResult = oPrepStatement.executeQuery
ccols = oPrepStatement.Columns

Does work:
oResult = oPrepStatement.executeQuery
ccols = oResult.Columns

I have fixed by macros and everything is working for me, now. I might make
sense to keep this open, since the expected behavior is that the columns
returned by the prepared statements are the same as the ones of the result of
the executed query.</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>