[Libreoffice-bugs] [Bug 116890] Firebird: empty columns gone with query

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Apr 9 11:49:55 UTC 2018


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

--- Comment #6 from Gerhard Schaber <gerhard.schaber at gmx.at> ---
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180409/18ee03da/attachment.html>


More information about the Libreoffice-bugs mailing list