cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Register to attend Discovery Summit 2025 Online: Early Users Edition, Sept. 24-25.
  • New JMP features coming to desktops everywhere this September. Sign up to learn more at jmp.com/launch.
Choose Language Hide Translation Bar
FabioSaragoni
Level II

How to prevent unlocking data table?

Hi,

I am really new to JMP.

I created a script to import data from an Access DB through Query Builder.

I used the following to get a locked data table and it worked. 

dt << Lock Data Table( 1 )

I need users to open this locked table to review data but I noticed that it is possible to unlock data by clicking on the top-left red triangle (see screenshot attached) and selecting Unlock Data Table.

 

Is there an easy way to prevent users from unlocking an open data table?

 

Thanks!

1 REPLY 1
ian_jmp
Level X

Re: How to prevent unlocking data table?

You may be able to use 'SetEditLock()' in the post-processing script that Query Builder allows:

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << Set Edit Lock( "Modify Cells", "Add Rows", "Delete Columns" );

Recommended Articles