try this:

edit:

Code
NumTrainCycles = 2;
if(TrainCycle == 1){
        StartDate    = 2018;
        EndDate     = 2020;
       set(RULES);

 }else if(TrainCycle == 2){
        StartDate    = 2020;
        EndDate     = 2020;
        set(PARAMETERS);
 }


Last edited by Grat; 10/16/20 14:26.