cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
%3CLINGO-SUB%20id%3D%22lingo-sub-2789%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E7%94%A8%E6%96%BC%E5%88%AA%E9%99%A4%E5%85%AC%E5%BC%8F%E5%BC%95%E7%94%A8%E7%9A%84%E5%88%97%E7%9A%84%20JSl%20%E4%BB%A3%E7%A2%BC%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2789%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E6%88%91%E6%AD%A3%E5%9C%A8%E5%98%97%E8%A9%A6%E5%88%AA%E9%99%A4%20JSL%20%E4%B8%AD%E7%9A%84%E4%B8%80%E5%88%97%E3%80%82%20%E4%BD%86%E6%98%AF%EF%BC%8C%E8%A6%81%E5%88%AA%E9%99%A4%E7%9A%84%E5%88%97%E5%B7%B2%E8%A2%AB%E5%85%AC%E5%BC%8F%E4%B8%AD%E7%9A%84%E5%8F%A6%E4%B8%80%E5%88%97%E4%BD%BF%E7%94%A8%E3%80%82%20%E7%95%B6%E6%88%91%E5%88%AA%E9%99%A4%E5%88%97%E6%99%82%EF%BC%8C%E6%88%91%E6%89%BE%E4%B8%8D%E5%88%B0%20JSL%20%E5%88%AA%E9%99%A4%E5%85%AC%E5%BC%8F%E7%9A%84%E8%AA%9E%E6%B3%95%E3%80%82%20%E4%BB%BB%E4%BD%95%E5%A6%82%E4%BD%95%E5%AF%A6%E7%8F%BE%E9%80%99%E4%B8%80%E7%9B%AE%E6%A8%99%E7%9A%84%E6%83%B3%E6%B3%95%E5%B0%87%E4%B8%8D%E5%8B%9D%E6%84%9F%E6%BF%80%E3%80%82%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2791%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E5%88%AA%E9%99%A4%E5%85%AC%E5%BC%8F%E5%BC%95%E7%94%A8%E7%9A%84%E5%88%97%E7%9A%84%20JSl%20%E4%BB%A3%E7%A2%BC%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2791%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E8%AC%9D%E8%AC%9D%E3%80%82%20%E9%82%A3%E6%98%AF%E7%9B%B8%E7%95%B6%E7%B0%A1%E5%96%AE%E5%92%8C%E5%AE%B9%E6%98%93%E7%9A%84%E3%80%82%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2790%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E5%88%AA%E9%99%A4%E5%85%AC%E5%BC%8F%E5%BC%95%E7%94%A8%E7%9A%84%E5%88%97%E7%9A%84%20JSl%20%E4%BB%A3%E7%A2%BC%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2790%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E6%82%A8%E6%87%89%E8%A9%B2%E9%A6%96%E5%85%88%E5%88%AA%E9%99%A4%E5%BC%95%E7%94%A8%E8%A9%B2%E5%88%97%E7%9A%84%E5%85%AC%E5%BC%8F%EF%BC%9A%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3EColumn(%22column%20name%22)%20%26lt%3B%26lt%3B%20delete%20formula%3B%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%E7%84%B6%E5%BE%8C%E5%88%AA%E9%99%A4%E8%A9%B2%E5%88%97%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
terapin
Level VI

JSl Code to Delete Column Referenced By Formula

I'm trying to delete a column in JSL. However, the column to be deleted is used by another column in a formula. I can't find the syntax for JSL to remove the formula when I delete the column. Any ideas how to accomplish this would be appreciated.
1 ACCEPTED SOLUTION

Accepted Solutions

Re: JSl Code to Delete Column Referenced By Formula

You should delete the formula referencing the column first:

Column("column name") << delete formula;

Then delete the column.

View solution in original post

2 REPLIES 2

Re: JSl Code to Delete Column Referenced By Formula

You should delete the formula referencing the column first:

Column("column name") << delete formula;

Then delete the column.

terapin
Level VI

Re: JSl Code to Delete Column Referenced By Formula

Thanks. That was rather simple and easy.