SELECT auth COUNT FOR id = m.id TO ct SELECT person IF ct > 0 ThisForm.Commandgroup1.Command4.ENABLED = .F. ELSE ThisForm.Commandgroup1.Command4.ENABLED = .T. ENDIFThis is what I have in the listbox's Refresh (Command4 is the 'Delete' button). It works just about right, but now when I click the 'Edit' button, it enables the 'Delete' button (which is not good), but when I click the 'Add' button, it does not enable the Delete button (which is good). I tried GotFocus, it's useless (I don't know what it is, but am using LostFocus for something else). I will have to look at it somemore, but thanks for pointing it out to help me start.