>The form has a button set across the bottom one of which is Maint. When they select that button a form is displayed that lets them select to Add a record, Modify the record, Delete the record, or Return to the previous screen. These are buttons and a value is returned to the calling form depending on which button the user selects. (Modify is 2).
if the edit control is disabled when the button is clicked, enable and refresh the form before setting focus...