G
Guest
this form use to show to search a certain record in frmFindQuoteSheet and
after seleting in listbox(frmFindQuoteSheet) they will click the cmdFind to
pull the record and the form frmQuoteSheetMaster form appeared with the
selected record.
I'm having run time error 2450
Can't find form 'frmQuoteSheetMaster' referred to in a macro expression or
visual basic code. Thank you so much in advance....
Private Sub cmdFind_Click()
Dim frm As Form
Dim rst As Object
Set frm = Forms!frmQuoteSheetMaster
Set rst = frm.Recordset.Clone
rst.FindFirst "[Placing_ID] = " & "'" & lstFind & "'"
Forms!frm.Bookmark = rst.Bookmark
DoCmd.Close acForm, "frmFindQuoteSheet"
End Sub
after seleting in listbox(frmFindQuoteSheet) they will click the cmdFind to
pull the record and the form frmQuoteSheetMaster form appeared with the
selected record.
I'm having run time error 2450
Can't find form 'frmQuoteSheetMaster' referred to in a macro expression or
visual basic code. Thank you so much in advance....
Private Sub cmdFind_Click()
Dim frm As Form
Dim rst As Object
Set frm = Forms!frmQuoteSheetMaster
Set rst = frm.Recordset.Clone
rst.FindFirst "[Placing_ID] = " & "'" & lstFind & "'"
Forms!frm.Bookmark = rst.Bookmark
DoCmd.Close acForm, "frmFindQuoteSheet"
End Sub