I have a form with a list box [lstAttachedFiles]. I want to delete the record from the list box. I looked up a code: Docmd.Execute "DELETE * FROM tblTrainingAttachment WHERE ScheduleID = Me.lstAttachedFiles"
It took me to the debugger where it just highlighted the .Execute. Is there a way to make a button to do this?