mohammadagul
PrinceAtif
- Local time
- Today, 03:45
- Joined
- Mar 14, 2004
- Messages
- 298
i am trying to write this in a module . Basically the code workds but it also gives me an alert message for the query
Dim strSQL as string
strSQL = "DELETE * FROM tblInvoices"
Docmd.runcommand strsql
when this module is run it gives me an alert of deleting records . if i turn of the Action Queries chekcbox in the options, this does not show. What can be changed in this code to prevent showing he Alert message even ifthe action query check box is checked
Dim strSQL as string
strSQL = "DELETE * FROM tblInvoices"
Docmd.runcommand strsql
when this module is run it gives me an alert of deleting records . if i turn of the Action Queries chekcbox in the options, this does not show. What can be changed in this code to prevent showing he Alert message even ifthe action query check box is checked