DoCmd.SetWarnings False
DoCmd.RunSQL INSERT INTO tblTrash (intEmpty) VALUES ('1');
DoCmd.SetWarnings True
Remember to set it back to true IMMEDIATELY after issuing your SQL so you get other warnings.
Greg Serrano
Michigan Dept. of Environmental Quality, Air Quality Division
|