>IF ALLTRIM(cnextnum) = ALLTRIM(thisform.pageframe1.page5.txtgarnum2.Value) > ape =VAL((SUBSTR(cNextnum,8,2))) > ape=ape+1 > ape=STR(ape) > night=(SUBSTR(cNextnum,1,8)) > *MESSAGEBOX(night) > *MESSAGEBOX(ape) > > cnextnum=(night+ape) > > MESSAGEBOX(cNextnum) > *MESSAGEBOX(ape) > *MESSAGEBOX('caught') > > > ELSE > ENDIF >>i hav a tiny wini problem its not a problem really but an issue id like to change