G
Guest
Hi
I have a main form where the user enters a date and employee number, which then shows the relevant record/s in the subform
My problem is when I have tried too set up a delete button on the main form to delete any of the shown records
I have tried the wizard delete button, which doesn't work (probarly because there is no menu bar on the form)
I have tried "DoCmd.RunCommand acCmdDeleteRecord" "me.requery" which works fine but it doesn't delete the record shown on the form it deletes (I assume) the first record in the table :
Could someone please shine a light on this - thanks in advanc
I have a main form where the user enters a date and employee number, which then shows the relevant record/s in the subform
My problem is when I have tried too set up a delete button on the main form to delete any of the shown records
I have tried the wizard delete button, which doesn't work (probarly because there is no menu bar on the form)
I have tried "DoCmd.RunCommand acCmdDeleteRecord" "me.requery" which works fine but it doesn't delete the record shown on the form it deletes (I assume) the first record in the table :
Could someone please shine a light on this - thanks in advanc