More of the same. I appreciate your putting up with me. I will get the hang of it eventually.
This runs from a form in Northwind named Customer List, which is based on the table Customers. There is a field on the form called ID and a field in the table called ID. I want to dbl-click on the ID field on the form and have the qry open that particular record.
I get an error on Customers after From.
Private Sub Command273_Click()
Dim db As Database
Set db = CurrentDb
Dim rec As DAO.Recordset
Set rec = db.OpenRecordset(“Select * From Customers where ID = ” & Me!ID)
End Sub