Choose Language Hide Translation Bar
Highlighted
terapin
Level V

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
Highlighted
thechadd
Level IV

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
Highlighted
thechadd
Level IV

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

Highlighted
terapin
Level V

Re: JSl Code to Delete Column Referenced By Formula

Thanks. That was rather simple and easy.
Article Labels

    There are no labels assigned to this post.