I have this code behind a delete current record cmdbutton:
DoCmd.RunSQL "Delete from tblMinistryII Where recid = " & Forms![MINISTRY I & II FORM]!RECID & ";"
When I press this button I keep getting a parameter box that pops up.
I want to delete the current record in my form. The RECID in my table has the same data as my forms RECID textbox.
The RECID in my table is updated with data from three textboxes on my form (concatenated). I have a RECID textbox on my form which has the control source for RECID in my tblMinistryII table.
Please help!
DoCmd.RunSQL "Delete from tblMinistryII Where recid = " & Forms![MINISTRY I & II FORM]!RECID & ";"
When I press this button I keep getting a parameter box that pops up.
I want to delete the current record in my form. The RECID in my table has the same data as my forms RECID textbox.
The RECID in my table is updated with data from three textboxes on my form (concatenated). I have a RECID textbox on my form which has the control source for RECID in my tblMinistryII table.
Please help!