
Hi
I want to override the default behavoir, when a certain field is selected. Normally when you the press enter the default behavior is to close that window. I have add it a search field to that window and i want to perform a search when text is enter and enter is press. The what this only when this field is selected. If this field is not select I want to the form to close.
*This post is locked for comments
I have the same question (0)Yes you can, all button BeforeUserChanged event contains a variable called "CancelLogic" just pass "True" to this variable and your VBA code will override original GP code.
Add this to the original GP button.