If nothing happened, then take away the NOT word, and see what's happening. With relatively little information about your program, it's not always so easy to see what you are trying to do. :-)
>hi all,
>
>i try with this code,nothing happend
>
>IF NOT BETWEEN(thisform.pageframe1.page16.text1.value,1,2)
>=MESSAGEBOX("ÇÎÊíÇÑ ÎÇØÆ")
>thisform.Pageframe1.ActivePage = 16
>thisform.pageframe1.page16.text1.SetFocus
>else
>....
>
>
>thanks
>
>m.qasem