Apache OpenOffice (AOO) Bugzilla – Issue 20601
ColumnsCollection is empty with native query
Last modified: 2006-05-31 14:29:06 UTC
- create a new nativ query - execute the following macro (change datasource and query name) Sub Main sDBName = "your_datasource" sQueryName = "your_query" oDBContent = createUnoService("com.sun.star.sdb.DatabaseContext") oDB = oDBContent.getByName(sDBName) handle = createUnoService("com.sun.star.sdb.InteractionHandler") oConnection = oDB.connectWithCompletion(handle) oQueries = oConnection.getQueries oQuery = oQueries.getByName(sQueryName) oColumns = oQuery.getColumns msgbox oColumns.getCount End Sub - the column count is 0. This bug is the main reason for the issue 20198.
set target
fixed in oj08
change subcomponent to 'none'
.
set this to FIXED
verify in CWS oj08
Hi, fixed in current developer build -> close. The current developer build can be found at http://download.openoffice.org/680/index.html Feel free to reopen if this issue is not fixed in the developer build. Bye Marc