Hi
I'm trying to write a function that will accept an ID number and
depending on certain criteria (that's what I need help with) it will
return a number between a specified range (lets say 1-10). The thing is
it must return the same number every time so any random functions are
out the window. I was using modulos but that's only good for 2 numbers.
ID's could be any number at all but the most important thing is the
number that is selected from the range must be the same for the ID
every time the function is ran no matter if the range grows. That is if
today I run it with a range of 1-10 and then tomorrow I run it with a
range of 1-20 the number that was returned yesterday for ID=28, for
example, should be the same number that is returned today for ID=28
Hope I've manged to make that clear ;)
Thanks
S66