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

            Bug ID: 156836
           Summary: ScriptForge Form service crashes on MoveFirst /
                    MoveNext
           Product: LibreOffice
           Version: 7.6.0.2 rc
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: BASIC
          Assignee: [email protected]
          Reporter: [email protected]

The following Basic script based on ScriptForge is crashing for no apparent
reason:

Sub OpenFormDocument
    GlobalScope.BasicLibraries.LoadLibrary("ScriptForge")
    Dim oDatabase As Object
    oDatabase = CreateScriptService("Database", "/path/to/file/database.odb")
    oFormDoc = oDatabase.OpenFormDocument("Produtos")
    oForm = oFormDoc.Forms(0)
    oForm.MoveFirst()
End Sub

Note that it uses the FormDocument which became available in LO 7.6. However it
crashes while calling MoveFirst from the Form service.

These are the details of the crash as proviced by ScriptForge itself:

Location : SFDocuments.Form.MoveNext/923
An exception occurred 
Type: com.sun.star.sdbc.SQLException
Message: Function sequence error. at
/home/rafael/Programming/libreoffice/connectivity/source/commontools/dbexception.cxx:358.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to