>m.stroeid=thisform.text1.value
> seek (m.storeid).....2
> if found()&& mean faster
Cut out some of the lines. No need to store it in a variable, no need for if found()
if seek(alltrim(thisform.text1.value))
else
endif
>Also put controlsources in your texboxes .....3? how
Right-mouse on the texboxe, bring up the property sheet, and poit the controlsource of the textbox to the table field.
But you seem to be putting all this code in the same place? Why not have separate code for separate click event buttons.
Click event for the add button
Select myTable
append blank
Click event for the delete button
select myTable
delete
thisform.refresh()
etc....
This way have no need for the ACT_FLAG variable to determine what the user is doing.