H
Herman Haverhals
Wat i'm i doing wrong in this code....
Private Sub showrecord_Click()
Dim rst As DAO.Recordset
Dim str As String
Set rst = Forms!Frm_GenPartmaint.RecordsetClone
MsgBox Me.LstPartno
rst.FindFirst "Artikel =" & LstPartno
Forms!Frm_GenPartmaint.Bookmark = rst.Bookmark
DoCmd.Close acForm, "Frm_partsearhdialog"
End Sub
Results in error msg 3070 microsoft engine could
recognize '000X' valid field or expression The field
artikel equals text field
Private Sub showrecord_Click()
Dim rst As DAO.Recordset
Dim str As String
Set rst = Forms!Frm_GenPartmaint.RecordsetClone
MsgBox Me.LstPartno
rst.FindFirst "Artikel =" & LstPartno
Forms!Frm_GenPartmaint.Bookmark = rst.Bookmark
DoCmd.Close acForm, "Frm_partsearhdialog"
End Sub
Results in error msg 3070 microsoft engine could
recognize '000X' valid field or expression The field
artikel equals text field