Hi Dan,
Thanks for your help.Here's the "On Click" [Event Procedure] code I use to open the "SEW-UP PARTS" form:
Private Sub CB_Open_Sew_Up_Parts_Form_Click()
On Error GoTo Err_CB_Open_Sew_Up_Parts_Form_Click
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "SEW-UP PARTS"
DoCmd.OpenForm stDocName, , , stLinkCriteria
Exit_CB_Open_Sew_Up_Parts_Form_Click:
Exit Sub
Err_CB_Open_Sew_Up_Parts_Form_Click:
MsgBox Err.Description
Resume Exit_CB_Open_Sew_Up_Parts_Form_Click
End Sub
Your reply to my help request on opening the form with a blank grid of a "Filter by Form" was:
Private Sub Form_Load()
DoCmd.RunCommand acCmdFilterByForm
End Sub
How do I incorporate your code into mine?
Chris