PDA

Click to See Complete Forum and Search --> : Access Modules


shane01
Feb 16th, 2006, 05:22 PM
How can I use a Microsoft Access Module to run an SQL Update or DELETE statement on a table in the database?

Shane

DKenny
Feb 16th, 2006, 06:05 PM
Search this forum for ADO and Access. That should give you some pointers.

salvelinus
Feb 17th, 2006, 07:01 AM
Sub RunMySql()
Dim strSql As String

strSql = "DELETE * FROM tblFOO"
DoCmd.RunSql strSql
End Sub