Msg Box
Hi.
I have a subform (frmOrderSub) which is linked with the form (frmOrderMain).
In the subform I have a PoductID combobox where one line is added for every product chosen.
What I need to do is set up a VBA statement that pops up a message when the subform has duplicate lines.
I.e. if I choose product #0123 in the first line I want a message to pop up if this product is chosen again (within the same order)
All help is greatly apprechiated.
Mads
Hi.
I have a subform (frmOrderSub) which is linked with the form (frmOrderMain).
In the subform I have a PoductID combobox where one line is added for every product chosen.
What I need to do is set up a VBA statement that pops up a message when the subform has duplicate lines.
I.e. if I choose product #0123 in the first line I want a message to pop up if this product is chosen again (within the same order)
All help is greatly apprechiated.
Mads