select column2field, column3field ; from (thisform.myGrid.recordsource) ; into array thisform.arrCheck * Column2.text1.lostfocus if recno() > 1 and ; Column2Field <= thisform.arrCheck[recno()-1,2] * Prompt nodefault this.setfocus else thisform.arrCheck[recno(),1] = Column2Field endif * Column3.text1.lostfocus if recno() < reccount()-1 ; Column3Field > thisform.arrCheck[recno()-1,2] * Prompt nodefault this.setfocus else thisform.arrCheck[recno(),2] = Column3Field endifThis is a quick idea code. You should take into account newly inserted ones would be negative and select might need an order by if index is in effect.