Article ID: 105173
Article Last Modified on 5/14/2007
' Data1 is a data control. Data1.DataBaseName = "C:\ACCESS\NWIND.MDB" ' Enter the following two lines as one, single line: Data1.RecordSource = "SELECT * FROM Employees WHERE [Birth Date] > #12/31/1960#" Data1.Refresh ' The following example uses FindFirst with the same Data Control: Data1.RecordSet.FindFirst "[Hire Date] <= #9/21/1992#"
Keywords: kbhowto KB105173