Ask Your Question

Change default record in LO Base form

asked 2017-10-26 17:50:22 +0200

z3dom gravatar image

I create simple form. I want that, when I open this form, the 10th record was selected, but not first. How can I set default start record number?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2017-10-26 19:26:56 +0200

Ratslinger gravatar image


To do this use a macro attached to the Open Document event of the form:

Sub GoToRecord
    Dim oForm as Object
    oForm = ThisComponent.Drawpage.Forms.getByName("YOUR_INTERNAL_FORM_NAME")
End Sub

Be sure to set the internal form name you have.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2017-10-26 17:50:22 +0200

Seen: 32 times

Last updated: Oct 26 '17