Thanks for the reply Pete but it doesnt look like what I want.
If say strdegday is between 0 to 6 then I want it to write the value 0
or strdegday is between 7 to 10 then I want it to write the value 1
or strdegday is between 11 to 16 then I want it to write the value 2
or strdegday is 17 and over then I want it to write the value 3
Apologies if im not explaining it clearly it would only
wright write one of those values above as it's result.
Thanks in advance !
<edit>What hope have I got when I cant spell write !</edit>
EDITED: 26 Sep 2007 11:56 by MODINSIDE