Sorry for not answering sooner. Been busy busy.. Yes that code works a treat thank you very much for your help..
As I say it all works fine. Only problem is now my boss has stated he might want to change the odds off winning to a sliding scale, so the sooner you enter the survey the better chance of winning you have.
I guess I would code it to count the id number and if it is higher than say 200 then divide it by 6 instead of 5 then check if its odd or even whole number. And keep doing this for higher numbers until the odds are much lower at the end.
How would you suggest I write the code for this? Sorry to ask. This is what happens when the boss messes with things.....!!!
|