I have a database with various fields, including several images (it’s stored on a MySQL server with the odb only containing forms and reports and such). But there’s just not enough room on a given form to display all the images unless I shrink them way down. So I created a couple of alternate forms that link to the other image fields. What I want is to have the main form open and then have a couple of buttons for “Image set 1” and “Image set 2” that belong to the same record as is in the main form. I know i have to create macros and use the basic stuff, but I’m at a loss as to how to do that. I searched around and found some ideas, but they are for the 5.x.x versions of LibreOffice and so didn’t work.
Can someone please give me some ideas, or explain exactly what basic code I need to use? Basically it’s this logic:
Button1_Press → ShowForm(Form2, Form1.RecNo)
Button2_Press → ShowForm(Form3, Form1.RecNo)
Then in each form there would be logic in the ShowForm that obtains the correct record in the table and displays the images.