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

            Bug ID: 117848
           Summary: moveToInsertRow does nothing from python
           Product: LibreOffice
           Version: 5.1.6.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: apiuano-lob...@yahoo.gr

Created attachment 142334
  --> https://bugs.documentfoundation.org/attachment.cgi?id=142334&action=edit
an odb with python and BASIC macro

Based on
https://ask.libreoffice.org/en/question/116286/base-macro-that-opens-a-newclean-record-in-another-form/
I created a macro that opens a form in a add new mode.

After that I tried to convert the macro for python. That never worked. I
include an .odb file that has a Companies form with two buttons, one uses the
BASIC macro and opens the form "correctly" and the other uses the python macro
but never goes to "new record".

moveToInsertRow :does nothing
moveToInsertRow() :gives SQLException
moveToInsertRow(False) :gives error for incorrect number of parameters

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to