form.IsEnabled(cMethod, cWorkarea) if proper(m.cMethod) + "," $ 'Next,Last,Prior,First,' * The statemanager is checking a navigational button state. * But wait, do we have a New record? if thisform.cmDataManager.IsNew('CursorName') * Yes we have a new record, so return False which will disable the "state". return .F. endif endif * If we are here, we haven't got a New record in the cursor. return dodefault(cMethod, cWorkarea)<<