>Select ( thisform.cpAlias) >If not EOF() > Skip 1 > If EOF() > go BOTTOM > This.Enabled = .F. > This.Parent.cmdLast.Enabled = .F. > Endif > With This.Parent > .cmdPrev.Enabled = .T. > .cmdFirst.Enabled = .T. > EndWith >EndIf not EOF() >Thisform.Refresh >>