I need to display the diiference between years in a Diaglog list field.E.g
If the current year is 2010,then Diaglog list fiels should list. Starting year is 2006.
2006
2007
2008
2009
2010
It should be written in Formula language. Please help if any of you come accross this sort of code.
Subject: Difference between years in Diaglog list
Hi,I hope this would solve your problem!
temp := @Year ( @Now );
@For ( i :=2006;
i<= temp;
i:=i+1;
varList = varList +“~” + @Text(i) );
@Explode ( varList ; “~” )
Copy and paste this in the dialog field’s choices… this will work.
Subject: RE: Difference between years in Diaglog list
temp := @Year ( @Now );@For ( i :=2006;
i<= temp;
i:=i+1;
varList := varList +“~” + @Text(i) );
@Explode ( varList ; “~” )
*Missed a colon(varList) in previous response…
Subject: RE: Difference between years in Diaglog list
Thank you very much Bruno.
Subject: RE: Difference between years in Diaglog list
Welcome!