Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Skip a script tab

Hi guys,

I'm currently working on a project and I need, through a condition, to skip a tab (or not). It should look like that :

IF(Day(Today() = 20, do some actions, skip to the second next tab);

Any idea guys?

Thanks in advance.

1 Reply
yavoro
Partner - Contributor III
Partner - Contributor III

Hiya,

if..then..else end if would do the trick for you I believe. Check the help for the syntax:

Examples:

if a=1 then

load * from abc.csv;

sql select e, f, g from tab1;

end if

if a=1 then; drop table xyz; end if;

if x>0 then

load * from pos.csv;

elseif x<0 then

load * from neg.csv;

else

load * from zero.txt;

end if

Y.A.