Issues with Duplicate forms opens

I am encountering some strange behavior. I have a customization on the Job entry form. In it I have a button to update an in-house database system.

My problem is when I have 2 Job Entry forms open, the first form to open seems to completely skip over all code inside the button. Vantage will still update and do everything IN VANTAGE. But, anything inside of the button click code will not get triggered. Now the second form can trigger the code if the user clicks on the button.

The weird thing is that the button definitely shows that the button is clicked. The button image shows it depressing and then releasing.

Does anyone have any experience or help with this issue?


Dan Godfrey