Please help me fix the error below
Run-time error '2465': MS Access can't find the field '|' referred to in your expression.
My code:
Private Sub ShowRecord_Click()
'Find a selected record, then close the search dialog box
DoCmd.OpenForm "ContactDetail"
[tblContacts.ID] = Me.lstItems.Column(0)
'Close the dialog box
'DoCmd.Close acForm, "Menu"
End Sub
Thanks