R
rahmad
Hi All,
I'm creating a table where its records
will be append to another 3 table.
I have done with the query and the form
But when creating the code I always got aproblem
please help why these two codes doesn't work properly
Private Sub Command8_Click()
Me.Visible = False
DoCmd.OpenQuery "Append Part List 1 ", acViewNormal, acEdit
DoCmd.OpenQuery "Append Part List 2 ", acViewNormal, acEdit
DoCmd.OpenQuery "Append Part List 3 ", acViewNormal, acEdit
End Sub
Private Sub Form_Unload(Cancel As Integer)
DoCmd.OpenTable " Part List 4 ", acViewNormal, acEdit
DoCmd.RunCommand , acCmdSelectAllRecords
DoCmd.RunCommand , acCmdDeleteRecord
DoCmd.Close acTable, " Part List 4 ", acSaveYes
End Sub
I'm creating a table where its records
will be append to another 3 table.
I have done with the query and the form
But when creating the code I always got aproblem
please help why these two codes doesn't work properly
Private Sub Command8_Click()
Me.Visible = False
DoCmd.OpenQuery "Append Part List 1 ", acViewNormal, acEdit
DoCmd.OpenQuery "Append Part List 2 ", acViewNormal, acEdit
DoCmd.OpenQuery "Append Part List 3 ", acViewNormal, acEdit
End Sub
Private Sub Form_Unload(Cancel As Integer)
DoCmd.OpenTable " Part List 4 ", acViewNormal, acEdit
DoCmd.RunCommand , acCmdSelectAllRecords
DoCmd.RunCommand , acCmdDeleteRecord
DoCmd.Close acTable, " Part List 4 ", acSaveYes
End Sub