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

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW
                 CC|                            |[email protected]

--- Comment #2 from [email protected] ---
Could confirm the behavior.
You have to enable macros to see this:
Open the form.
Cursor moves to something like row 60, but there are 81 rows. 
The macro should move the cursor to row 82 to insert a new row.

This works right if you are not using a tablecontrol. Seems there is something
like a cache-problem for the tablecontrol.
If you are using textboxes instead it doesn't show the right number of the row,
but does show the field "ID" with <AutoValue>.

You could use the following workaround:

Sub MoveToInsertRow(oEvent as Object)
    oEvent.Source.Last()
    oEvent.Source.moveToInsertRow()
End Sub

This works for all versions. Moves the cursor to the last row, then jumps to
the new row and also shows the right number of the row.

Have tested this with OpenSUSE 13.2 64bit and LO 4.3.5.2

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to