What I posted is VBA code ... it goes in the form's module, not in the
DblClick event property box.
In the box next to Dbl Click, put
[Event Procedure]
Then click on the button at far right (with three dots on it). The Visual
Basic Editor will open and display this:
Private Sub cbocomposerwmf_DblClick()
End Sub
with the cursor sitting on the blank line between these two lines. In that
blank line, insert the two code lines that I posted:
DoCmd.OpenForm frmDeleteComposer, , , , acDialog
Me.cbocomposerwmf.Requery
Save and close the Visual Basic Editor. Save and close your form. It now
should respond to the double-clicking of the combo box.
--
Ken Snell
<MS ACCESS MVP>
R said:
when i type in Private Sub ComboBoxName_DblClick()
DoCmd.OpenForm frmDeleteComposer, , , , acDialog
Me.cbocomposerwmf.Requery
End Sub
I get an error stating The Action Or Method Requires a Form Name Argument.
What am i doing wrong?
Thanks-