Subscribe Bookmark RSS Feed

Is there a way to script the Start Over command for a Data Filter?

mennara

New Contributor

Joined:

Feb 25, 2017

 
2 REPLIES
mennara

New Contributor

Joined:

Feb 25, 2017

Found the "Delete All" command.

txnelson

Super User

Joined:

Jun 22, 2012

Here is a script that illustrates how to do that:

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
df = dt << Data Filter( add filter( columns( :sex ) ) );
Wait( 5 );
df << delete all;

All of the capabilities of the Data Filter are available from:

     Help==Scripting Index==>Data Table Rows==>Data Filter

Jim