I have a form [Formulas] with a continuous subform [Formulas - Raws].
subform has a combo box called [lot#}
I have a separate form called [COA - Quick Information].
The following code is opening up the [COA - Quick Information] form,
but is not applying the "Where" clause which is based on the combo box
I double click on the subform.
([COA - Quick Information] form opens up blank)
Here is the code.
Private Sub lot__DblClick(Cancel As Integer)
DoCmd.OpenForm "COA - Quick Information", , , "lot =
'[Forms]![Formulas]![Formulas - Raws].[Form]![lot#]'"
End Sub
Any suggestions would be appreciated.
Doug