Subscribe Bookmark RSS Feed

Find Dependent Reports for Data Table

robot

Community Trekker

Joined:

Feb 27, 2012

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?

Thanks!

// Example.

Names Default To Here( 1 );

bigClass = Open( "$SAMPLE_DATA/Big Class.jmp" );

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 );

1 REPLY
David_Burnham

Super User

Joined:

Jul 13, 2011

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

-Dave