LibreofficeBase: In basic, how do you open a form to a particular record number. Also, where is the *useable* API documentation?

This is some example code I’m using that opens a form. How do set set the current record number of the newly opened form from the basic script.

Sub OpenDataEntry(oEvent As Object)
	Dim FrmName as string
	FrmName = "Finalization - Data Entry"
	ThisDatabaseDocument.FormDocuments.getByName(FrmName).open()
End Sub

I’m a programmer. Does anyone know where a useable API reference is for libreoffice basic? I have looked at the “documentation” and there is no apparent reference to ThisDatabaseDocument , FormDocuments , getByName , and etc. Surely there is a real API reference or some trick I’m missing out there

The question and answer at this link provides information about finding methods and properties and addresses same functional question.

Refer to this question.

It contains a lot of links.