I have a Form Helper program that is in charge of putting some default values in to some editable fields. What I was noticing is that the helper program would put the values in the fields but then they would disappear. This all happens really quickly.
I put my form helper into Debug and stepped through the program to see if it was something in my code. Everything seemed to work correctly. Once I was done debugging, the values stayed in the fields! So as a shot in the dark, I added a sleep procedure for 1 second in my rgp code and it worked! It seems like the RPG program is finishing too quickly and the form clears the values after they are set.
Does that make any sense? Has anyone had that trouble before.
I put my form helper into Debug and stepped through the program to see if it was something in my code. Everything seemed to work correctly. Once I was done debugging, the values stayed in the fields! So as a shot in the dark, I added a sleep procedure for 1 second in my rgp code and it worked! It seems like the RPG program is finishing too quickly and the form clears the values after they are set.
Does that make any sense? Has anyone had that trouble before.

Comment