Hello,
New to LibreOffice. Have programmed in VBA but am struggling with Basic. I’m sure there’s a simple answer to this but I havent been able to figure it out. I am trying to reference a field on a form that I have created in Base. The following code in my Sub gets hungup on ‘Drawpage’. The error I get is that Drawpage Property or Method Not Found. Is there a library or reference I need to have turned on?
Thanks in advance.
Dim oForm as Object
Dim oField as Object
oForm = ThisComponent.Drawpage.Forms.getByName(“frmAddMaterial”)
oField = oForm.getByName(“txtAddNew”)