Jump to content

My selected window changes randomly

Recommended Posts

I have a script that runs via record creation with MBS. The script opens a new window in the main database and performs actions based on an incoming call.
At times the new window opens but the main window gets/remains selected and that's where the action happens. It's 1 out of 4-5 times when this happens. I tried it with the same exact action, same result, it'll fire perfectly a few times, then in the wrong window.
Any ideas?

Screen Shot 2020-09-19 at 10.52.56 AM.png

Link to post
Share on other sites

I don’t have an answer but I feel your pain.

I think it’s a speed/processing issue (my own terms)

 I have a script that opens a window, prints the first record on a list view, goes to the next record, standard stuff.

Every 4th/5th time I run the script, the record indicator doesn’t move, even though it does switch records and prints the records in order.

I tried pauses, refreshing object/window.  Even randomly does it in the debugger, one line at a time.

And with rapid new releases, I don’t think it will get fixed.

Maybe repeating Line 41, put a refresh in between, just to see if you can go a number of times without it happening.  

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.