Hi Nishit,
_screen.SctiveForm.ActiveControl returns a reference to the currently focused object.
>See in a master the focus is on the Primary key field.
>I want if the user presses the cancel button then no
>validations should be done. What I feel is when the user
>clicked on Cancel button I should able to know the
>current control. Is there any way to findout this?
>or any other solution.
>
>Thanking you in advance for the replies.
>bye
>mmk