To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=85506
                 Issue #|85506
                 Summary|Report (Builder or Writer) can not be opened hidden
               Component|Database access
                 Version|OOH680m4
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|none
             Assigned to|oj
             Reported by|oj





------- Additional comments from [EMAIL PROTECTED] Wed Jan 23 11:59:03 +0000 
2008 -------
REM  *****  BASIC  *****

REM  *****  BASIC  *****

Sub Main
    dim Arguments(2) as New com.sun.star.beans.PropertyValue
    
    context = createUnoService("com.sun.star.sdb.DatabaseContext")
    oDataBase = context.getByName("Bibliography")
    oDBDoc = oDataBase.DatabaseDocument
    oReports = oDBDoc.getReportDocuments()
'    msgbox oReports.dbg_methods

    Arguments(0).Name = "OpenMode"
    Arguments(0).Value = "openDesign"
    Arguments(1).Name = "ActiveConnection"
    Arguments(1).Value = oDatabase.getConnection("","")
    Arguments(2).Name = "Hidden"
    Arguments(2).Value = 1
    
    oReport = oReports.loadComponentFromURL("Report1","_blank",0,Arguments())
    ' change the statement
    oReport.Command = "test"

        msgbox oReport.dbg_properties

End Sub

-> The builder is still visible.

---------------------------------------------------------------------
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to