But that still gives the problem when the Cancel button is pressed. I prefer to put my validation attached to the OK button (or in a method called by the OK button)
John Weller 01380 723235 07976 393631 > I would check the textbox for the valid reference and only > enable the ok button if it is ok Allen > _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/c8f648eac4f4409a985b99bfe655c...@wessex1 ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.