Column order keeps changing in Datawindow every time we open the window. We cleared the registry entry of this window and logged in to the application and opened the screen, it displays the column in correct order. And soon close the screen and reopen, all columns and data jump around. This issue started to happen after we migrated our powerbuilder application from 12.6 to 2019 R3 version. Could you please shed some light on this issue?
Attached the default layout and how the layout keeps changing each time.
Here are our additional findings,
- Column position is not changing if we add the breakpoint in code and run the application in Debug mode. We are not stepping in to the breakpoint, just clicking continue when it enters the breakpoint.
- We tested the same screen by running in debug mode, but this time we disabled all breakpoints. Column position got changed.
- We tested the same screen by directly running the application from PowerBuilder, column position got changed again.
In conclusion, if the run the application in debug code by adding the breakpoint, then the column positions remain the same as expected. Could you please let me know why the application behaves differently when we test it using run and debug mode with the same codebase in PowerBuilder?
Regards,
Gayathri