I am using the following code to find a record in my data table. I find the record ok, but it only displays the last name (lname) and does not display the complete record. I need some help can someone tell me how to get the complete record.
Thinks for you help
Private Sub Find_Click()
On Error GoTo Err_Find_Click
Dim IdValue As String
IdValue = Me![Search-Box]
DoCmd.FindRecord IdValue, acEntire, True, A_ALL, True
Exit_Find_Click:
Exit Sub
Err_Find_Click:
MsgBox Err.Description
Resume Exit_Find_Click
End Sub
Thinks for you help
Private Sub Find_Click()
On Error GoTo Err_Find_Click
Dim IdValue As String
IdValue = Me![Search-Box]
DoCmd.FindRecord IdValue, acEntire, True, A_ALL, True
Exit_Find_Click:
Exit Sub
Err_Find_Click:
MsgBox Err.Description
Resume Exit_Find_Click
End Sub