openTable issue
Hello -
openTable script stopped functioning.
Starting with 3.15 I have button scripts that direct the user to a table and view
openTable("Supplier", "Inventory") .... has been working for months.
When the button is clicked the Supplier table is brought into view but not the Inventory tab. It defaults to the first tab in the table rather that the one in the script.
Any ideas?
18 replies
-
It is possible that Ninox has updated the behavior of functions or the methods of accessing data, causing incompatibilities with scripts. I wonder if a fix for this, which seems to be a bug, is on the agenda.
-
I'm not able to reproduce it in public cloud 3.15.
-
Try this DB out.
Open the Dashboard table
You will see a choice field called 'Select a View'. So select a view.
Then click on Open Table and View.
Let me know what happens on your end.
-
I should have included this in the DB but, if I make a button with this script in the Dashboard table:
openRecord(first(select TableA), "Extra Tab")
I get the behavior I'm looking for - it lands on Extra Tab. This works in Mac app v3.14.3 but not in public cloud...
-
said:
Go back to Dashboard and 'Select a View' set to 'Extra Tab' click Open Table and View results in switch to TableA, Form view and Tab TableA selected instead of 'Extra Tab':openTable() can not open a tab in a record. Which is where 'Extra Tab' exists. That is why openRecord() can open the 'Extra Tab' because you are in a record.
That is not strange. Ninox doesn't know what view to open since Extra Tab is not a view at the table level so it will default to the first tab.
-
Hi, also in my Database the
popupRecord(myRecord, tabName)
stopped functioning properly after upgrading to 3.15 (the function opens the myRecord but lands to first tab instead of the given tabName)
Content aside
- 2 wk agoLast active
- 18Replies
- 133Views
-
5
Following