In that case, this should work:
stringvar s := "20141022";
numbervar mm := Mid(s,5,2);
numbervar dd := Right(s,2);
numbervar yy := tonumber(Left(s,4));
cdate(yy,mm,dd) IN [currentdate-8 to currentdate-1] ;
-Abhilash
In that case, this should work:
stringvar s := "20141022";
numbervar mm := Mid(s,5,2);
numbervar dd := Right(s,2);
numbervar yy := tonumber(Left(s,4));
cdate(yy,mm,dd) IN [currentdate-8 to currentdate-1] ;
-Abhilash