I have a command botton which I would like to run a SQL.
Private Sub Command3_Click()
Dim SQL As String
SQL = "select * from inv1 where Bin = '13'"
CurrentDb.Execute (SQL)
End Sub
I keep getting an error on CurrentDB.Execute (SQL) highlite in yellow.
What's wrong with this code? Is something...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.