Thank you for your response! I tried creating a text box and a command button. This is the code that I entered:
Private Sub Command1_Click()
Dim adoPrimaryRS As Recordset
Recordset = "Select [Pat Birthdate] FROM tblchartlocator WHERE [Pat Birthdate] Like '%" & Text1 & "%'"
adoPrimaryRS.Refresh
End Sub
When I try to run the subprocedure, I get an error that says:
"Compile error: Member or data member not found."
This is the part that the debugger hilites:
Private Sub Command1_Click()
Dim adoPrimaryRS As Recordset
Recordset = "Select [Pat Birthdate] FROM tblchartlocator WHERE [Pat Birthdate] Like '%" & Text1 & "%'"
adoPrimaryRS
.Refresh
End Sub
Thanks again, for any help that you can give me! If you'd like to e-mail me instead of going through the message board, do so at
mhagan@boice-willis.com.