Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: macfil
  • Content: Threads
  • Order by date
  1. macfil

    Trying to execute SQL from a command botton.

    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...

Part and Inventory Search

Back
Top