To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=69740
User oj changed the following:
What |Old value |New value
================================================================================
Status|NEW |RESOLVED
--------------------------------------------------------------------------------
Resolution| |FIXED
--------------------------------------------------------------------------------
------- Additional comments from [EMAIL PROTECTED] Fri Aug 3 06:19:54 +0000
2007 -------
Fixed in cws dba24a
getSelection return an Any which contains a Sequence of PropertyValue.
1st PropertyValue:
Name = "Type" === Value is an integer
0 - form
1 - report
2 - query
3 - table
The 2nd PropertyValue
Name = "Selection" === Value is a sequence of strings which are selected.
Value = Sequence < Strings > === selected names
Example basic macro:
Sub Main
context = createUnoService("com.sun.star.sdb.DatabaseContext")
oDataBase = context.getByName("hh")
oDBDoc = oDataBase.DatabaseDocument
' MsgBox oDBDoc.dbg_properties
controller = oDBDoc.getCurrentController()
' msgbox controller.dbg_methods
sel = controller.getSelection()
sel(0).Value = 1
sel(1).Value(0) = nul '= Array("_a")
controller.select(sel)
End Sub
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]