>>MESSAGEBOX(thisform.pageframe1.page5.txtgarnum2.Value )&&petel0001 >> MESSAGEBOX(cNextnum)&&petel0001 >> >>IF ALLTRIM(cnextnum) =ALLTRIM(thisform.pageframe1.page5.txtgarnum2.Value) >> ape =(SUBSTR(cNextnum,8,2)) >> ape=ape+1 >> MESSAGEBOX(ape) >> MESSAGEBOX('caught') >> ELSE >> MESSAGEBOX('not caught') >> ENDIF >>>>STR to int doesnt eexactly exist as far as i know
>ape =VAL((SUBSTR(cNextnum,8,2))) >Thanks!! wow you>all ...