N
nbohana
Hi, I need help, I am using the following code to find and display a record.
The code finds the record ok but only displays the last name field. The last
name is what I am searching on. How do I display the entire record. Please
help!!!
Private Sub Find_Click()
On Error GoTo Err_Find_Click
Dim IdValue As String
IdValue = Me![Search-Box]
Screen.PreviousControl.SetFocus
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
The code finds the record ok but only displays the last name field. The last
name is what I am searching on. How do I display the entire record. Please
help!!!
Private Sub Find_Click()
On Error GoTo Err_Find_Click
Dim IdValue As String
IdValue = Me![Search-Box]
Screen.PreviousControl.SetFocus
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