psh.. your guess is as good as mine.. That is just how IT has it named..
How do I get this cmdCreateCSV to run after the delete?
psh.. your guess is as good as mine.. That is just how IT has it named..
How do I get this cmdCreateCSV to run after the delete?
Maybe try
Code:Function Copy_Of_Delete_GroupUser() On Error GoTo Copy_Of_Delete_GroupUser_Err DoCmd.OpenQuery "Removal Query", acViewNormal, acEdit DoCmd.OpenQuery "Delete GroupUser", acViewNormal, acEdit DoEvents '<<-- I add this to allow time for the queries to finish - probably not really needed... Call cmdCreateCSV_Click Copy_Of_Delete_GroupUser_Exit: Exit Function Copy_Of_Delete_GroupUser_Err: MsgBox Error$ Resume Copy_Of_Delete_GroupUser_Exit End Function