Please bear with me as I set up the situation.
I am using Base with Firebird. The database in question has several tables, and several data forms. A given data form opens a specific table.
In addition, I have added a main switchboard (NOT standalone) and two sub-switchboards (again, NOT standalone). Clicking a button on the main switchboard launches a macro which opens a sub-switchboard. Clicking a button on a sub-switchboard launches a macro which opens a data form with its underlying data.
HERE IS THE WEIRD THING (at least to me): LEFT-clicking to open the data form in this fashion results in NO UNDERLYING DATA being displayed or accessible UNLESS I exit the form and open it a second time. Subsequent CONSECUTIVE exits and openings of the same data form continue to display the underlying data. Every time I change to another data form, I have to repeat the process just described.
I tried bypassing the main switchboard and launching the data form straight from the sub-switchboard. The results are the same.
Bypassing the switchboard forms altogether and opening the data forms directly displays the underlying data – FIRST TIME EVERY TIME.
I would have thought my code might be at fault, EXCEPT I found a number of peculiar behaviors depending on how I clicked the sub-switchboard buttons to access the data form.
I found that RIGHT-clicking to open the data form from the sub-switchboard form opens the data form and displays the underlying data – FIRST TIME, EVERY TIME.
Interestingly enough, I ALSO found by playing around that double-clicking a sub-switchboard button opens a data form with NO UNDERLYING DATA EVERY TIME – no matter the sequence. However, I can immediately REOPEN the same form from the sub-switchboard with a single left-click and the UNDERLYING DATA APPEARS.
I’ve tried this database on two different computers with two different versions of LO (one computer is running the stable version, the other is running the fresh version). I get the same behavior in either case.
Does anyone have an explanation for what I would consider unusual behavior?
Laptop 1:
MSI GT780
16 GB RAM
64-bit i-7 quad core (8 threads)
running LibreOffice Version: 6.4.6.2 on Linux 4.15 Mint 19 (running on 500 GB SSD with a 250 GB SSD data drive)
Laptop 2:
Acer Spin 5
8 GB RAM
64-bit i-7 quad core (8 threads)
running LibreOffice Version: 7.0.0.3 on Linux 4.15 Mint 19 (running on 256 GB bootable persistent USB flash drive)