****************** >local lnanswer, <b>lnRetVal</b> > >If Empty(This.value) > lnanswer=messagebox("First Name field cannot be blank",1,"Text Entry Error.") > > If lnanswer = 2 && If the Cancel button is clicked back out of the record. > =Tablerevert() > Thisform.flipenable > Thisform.Refresh > > <b>lnRetVal = 1 && proceed to next control > > Else > * User wants to try again: > lnRetVal = 0</b> > > Endif > ><b>Else > * Name not empty, this is OK, allow loss of focus: > lnRetVal = 1</b> > >Endif > >Return <b>lnRetVal</b> >******************It's one of my personal cardinal rules, to never use an IF statement without an ELSE - even if there's nothing to do, it encourages you to consider the flip side of the logic.