I am upgrading a model from 19.1.1 to 19.2.4 which has numerous table.query calls to both Global Tables and Global Lists.
Commands with the $1 construct work fine in 19.1.1 but cause the software to completely crash on 19.2.4.
For example, here are a couple lines I put into the Script editor and ran in both versions:
string dockid = "Dock2"; int numrows = Table.query("SELECT * FROM [Dock Assignment] WHERE [DockID] = $1",dockid).numRows;
The table "Dock Assignment" looks like this:
I took out the breakpoints based on the answers to similar questions posted here, and that solves the problem, but it is going to make it very hard to test the dozens of Table.query commands in the model.
The full model is very large and proprietory so I will try to create a scaled down version to upload.
Hoping it is fixed in version 20.0.0? @phil.bobo