Choose Language Hide Translation Bar
Level VI

Find Dependent Reports for Data Table

I would like to create a script to sort a data table, replacing the data table with new data.  My problem is that JMP will not do this if the table has dependencies.  For example, the script below will throw the error, "JMP cannot replace the existing table because there are report windows that depend on the previous ordering."

How can I determine if a data table has dependent reports?  Is it possible to get a list of these reports, so that I can write a script to close them?


// Example.

Names Default To Here( 1 );

bigClass = Open( "$SAMPLE_DATA/Big" );

biv = bigClass << Bivariate( Y( :weight ), X( :height ) );

// Find and close reports that depend on bigClass.

bigClass << Sort( By( Age, Name ), Order( Descending, Ascending ), Replace Table );

Super User

Re: Find Dependent Reports for Data Table

Given that you want to discard all the reports the easier way might be to close the table and re-open it?

Article Labels

    There are no labels assigned to this post.