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?
26 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) -
Updating the status of this thread to Answered
I submitted a bug report regarding the OpenRecord statement. Support says they're aware of the issue.
Thank you
-
Just to fully clarify.
I reported this Ninox Support a while back. As the fault is somewhat intermittent too.
Ninox also say that whilst they acknowledge it is a bug. They do not consider it to be vital to operability and thus requiring and instant fix release. so this task has been added with other non urgent issues to a great task list and afix release will be issued in the not too distant future.
There is a similar issue with the popupRecord function too. as this also does not open secondary tabs! albeit one can use openRecord as a temp work around.
-
With the release of 3.15.3 public web version the popup issue seems to be resolved !
Content aside
- Status Answered
- 4 hrs agoLast active
- 26Replies
- 211Views
-
6
Following