https://bz.apache.org/ooo/show_bug.cgi?id=127163
Issue ID: 127163
Issue Type: DEFECT
Summary: method appendbyDescriptor not supported by
com.sun.star.sdb.OColumns-Object
Product: App Dev
Version: 4.1.3
Hardware: PC
OS: Windows 7
Status: UNCONFIRMED
Severity: Normal
Priority: P5 (lowest)
Component: scripting
Assignee: [email protected]
Reporter: [email protected]
A Macro, which works under 4.1.1 doesn't run under 4.1.2 or 4.1.3.
The object "com.sun.star.sdb.OColumns" does not support the method
"appendbyDescriptor"
Sample Code
DatabaseContext = createUnoService("com.sun.star.sdb.DatabaseContext")
oDatenquelle=DatabaseContext.getByName(sDB)
oConnect = oDatenquelle.getConnection(sUser,sPW)
oTables = oConnect.getTables
oTabDesc = oTabellen.createDataDescriptor()
oTabDesc.name = "Bo.dbo." + sName
oCols = oTabDesc.getColumns()
oColDesc = oCols.createDataDescriptor()
oColDesc.name = "Nachname"
oColDesc.type = com.sun.star.sdbc.DataType.VARCHAR
oColDesc.precision = 50
' the next line doesn't work anymore
oCols.appendByDescriptor(oColDesc)
oTabellen.appendByDescriptor(oTabDesc)
--
You are receiving this mail because:
You are the assignee for the issue.