cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Register for our Discovery Summit 2024 conference, Oct. 21-24, where you’ll learn, connect, and be inspired.
%3CLINGO-SUB%20id%3D%22lingo-sub-2789%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E7%94%A8%E4%BA%8E%E5%88%A0%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%A0%81%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%B0%9D%E8%AF%95%E5%88%A0%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%A0%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%E5%BD%93%E6%88%91%E5%88%A0%E9%99%A4%E5%88%97%E6%97%B6%EF%BC%8C%E6%88%91%E6%89%BE%E4%B8%8D%E5%88%B0%20JSL%20%E5%88%A0%E9%99%A4%E5%85%AC%E5%BC%8F%E7%9A%84%E8%AF%AD%E6%B3%95%E3%80%82%20%E4%BB%BB%E4%BD%95%E5%A6%82%E4%BD%95%E5%AE%9E%E7%8E%B0%E8%BF%99%E4%B8%80%E7%9B%AE%E6%A0%87%E7%9A%84%E6%83%B3%E6%B3%95%E5%B0%86%E4%B8%8D%E8%83%9C%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%A0%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%A0%81%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2791%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E8%B0%A2%E8%B0%A2%E3%80%82%20%E9%82%A3%E6%98%AF%E7%9B%B8%E5%BD%93%E7%AE%80%E5%8D%95%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%A0%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%A0%81%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%E5%BA%94%E8%AF%A5%E9%A6%96%E5%85%88%E5%88%A0%E9%99%A4%E5%BC%95%E7%94%A8%E8%AF%A5%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%90%8E%E5%88%A0%E9%99%A4%E8%AF%A5%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.