G
Guest
Hi,
When i run the delete command...
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 6, , acMenuVer70
what is the best way to suppress the delete warning?
There was an earlier post that said to use:
Docmd.SetWarnings False
<SQL delete statements>
Docmd.SetWarnings True
or else
dbEngine(0)(0).Execute "DELETE...", dbFailOnError
but these were when the Delete statments were SQL statements. Are either of
those lines okay to use with my delete statements?
Thanks
When i run the delete command...
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 6, , acMenuVer70
what is the best way to suppress the delete warning?
There was an earlier post that said to use:
Docmd.SetWarnings False
<SQL delete statements>
Docmd.SetWarnings True
or else
dbEngine(0)(0).Execute "DELETE...", dbFailOnError
but these were when the Delete statments were SQL statements. Are either of
those lines okay to use with my delete statements?
Thanks