I am getting a strange error message when combining a column switcher, a data filter and a row state handler function.
The script attached gives a simplified example (apologies that it's still quite long). In summary, the script:
- Uses a data table that includes columns with spec limits (I’m using ‘Semiconductor Capability’ as an example)
- Creates a Process Capability Summary Report table
- Appends to the table a Distribution output and a column switcher
- Tidies up the table and links the column switcher to the Distribution
- Creates a row change function to monitor updates to the Process Capability table
- When the user selects a row in the table, the parameter column name is captured and passed to the column switcher, which changes the Distribution platforms.
This works fine, until the source data table is filtered with unwanted rows hidden and excluded. The process capability table updates OK, but if I then select a new parameter from the table, I get this message appear twice (or more times):

The distribution platform does eventually update. However, if the user does further filtering, eventually I get the following error:

When I get this, the row state handler appears completely disassociated with the table.
I'd be grateful if anyone can suggest a fix, or a better way of doing what I'm doing!
I am using JMP 17.2 on MacOS.