Please help. Explain what WithEvents means more

DBA

New member
Joined
Nov 11, 2011
Messages
2
Programming Experience
1-3
I am trying to create a sub on a form, that basically on leave of one combo box for order numbers, sets the ending order number to what the beginning order insterted was.

Basically looking to see if len(Orderstart) >0 then setting the Orderend equal to it by default otherwise (Orderstart).Focus().

However when I start to create sub, I get an error saying handles clause requires withevents variable. Huh. I am somewhat of a VB newbie, so I went to MSDN, and that certainly did not help at all.
Anyone any idea what they means, I already have Orderstart declared as a global variable.
 
Back
Top