Hello;
I am attempting to use a command button "Delete Current Assignment Record" on a form to delete a user-selected record from a table entitled "Registration" with Key field "Registration ID".
I am using a combo box named "Select Task" that displays info from three tables to enable the user to select a record. The form's data source is the table Registration. column 7 within the combo box = the Registration ID.
the on click event for the command button is:
Private Sub Delete_Current_Assignment_Record_Click()
Delete [Registration].* from Registration where [Registration].[Registration ID] = [select task].Column(7)
End Sub
I have also tried using the acCmdDelete run command, but am unsure how to make sure the table Registration is set prior to execution.
MS ACCESS 2003;
OS Windows 2000 svc pack 4
suggestions on how to make this work properly would be appreciated.