G
Guest
The following solution was given by John Vinson for deleting all records.
Private Sub cmdEraseData_Click()
DoCmd.RunSQL "DELETE * FROM tablename;"
End Sub
I am using this to empty a temporary table and I don't want the warning
message about deleting x number of records to display to the user. How can I
supress this message and keep the ball bouncing? Thanks.
Private Sub cmdEraseData_Click()
DoCmd.RunSQL "DELETE * FROM tablename;"
End Sub
I am using this to empty a temporary table and I don't want the warning
message about deleting x number of records to display to the user. How can I
supress this message and keep the ball bouncing? Thanks.