$array = '0','1','2','3','4','5' $x = 50 $test = IIf($x<6, $array[$x], $array[$x mod 10])
Generated in 0.058 seconds in which 0.024 seconds were spent on a total of 14 queries. Zlib compression enabled.