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?
Hello,
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")
oForm.absolute(10)
End Sub
Be sure to set the internal form name you have.