IF nkeycode=13 m.a=thisform.timeadd(thisform.timeadd(thisform.timeadd(thisform.timeadd(true,hot),balanc),mint),other) m.w=plan ? m.w IF m.a=m.w =MESSAGEbox("true") &&&go to next record mygrid1.plan.text ELSE =MESSAGEbox("false") &&&stay at the same record ENDIF endif>Not only MESSAGE, try MessageBox instead.