cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • DownloadSemiconductor Toolkit: Tools to create wafer maps, add wafer geometry to graphics, explore die defects & compare wafers.
  • Discovery Summit 2026: Early User Edition - September 23-24.Register. It's free.
  • Use JMP Clinical with CDISC-compliant data. Review studies, ID safety and efficacy signals & communicate findings with interactive graphics. Register to see how. Aug. 27, 2 pm US ET.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
djhanson
Level VI

Clear Column Contents Message

Besides looping thru a column's rows, does JSL happen to have a column message to clear/delete a column's contents?  just curious... thx, dj

1 ACCEPTED SOLUTION

Accepted Solutions
ms
Super User (Alumni) ms
Super User (Alumni)

Re: Clear Column Contents Message

No dedicated "delete content" command that I am aware of. However <<Set Each Value() can be used as such a message. Another option is Main Menu("Delete"), but I do not recommend that unless one has 100% control over what is selected in the current data table (it may in some circumstances even delete the code in the script editor rather than the column content).

Names Default To Here( 1 );

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

// A simple way to do it

Column( "age" ) << set each value( Empty() );

Column( "name" ) << set each value( Empty() );

// Another, more risky, way to do it

dt << select all rows;

Column( "sex" ) << setselected( 1 );

Main Menu( "Delete" );

View solution in original post

1 REPLY 1
ms
Super User (Alumni) ms
Super User (Alumni)

Re: Clear Column Contents Message

No dedicated "delete content" command that I am aware of. However <<Set Each Value() can be used as such a message. Another option is Main Menu("Delete"), but I do not recommend that unless one has 100% control over what is selected in the current data table (it may in some circumstances even delete the code in the script editor rather than the column content).

Names Default To Here( 1 );

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

// A simple way to do it

Column( "age" ) << set each value( Empty() );

Column( "name" ) << set each value( Empty() );

// Another, more risky, way to do it

dt << select all rows;

Column( "sex" ) << setselected( 1 );

Main Menu( "Delete" );

Recommended Articles