m.a=thisform.timeadd(thisform.timeadd(thisform.timeadd(thisform.timeadd (true,hot),balanc),mint),other) m.w=thisform.timeadd(plan,("00:00:00")) IF m.a=m.w =MessageBox("true") grdTable = thisform.Grid1.RecordSource thisform.Grid1.column7.SetFocus() SKIP IN (grdTable)&&¬hng happend IF EOF() SKIP -1 IN (grdTable) ENDIF ELSE =MessageBox("false") ENDIF