Powerserver 2017 (using PB2017 R3 environment, Sybase 16 ASE database)
Internet Explorer 11.
Slow performance on a datawindow.
Scenario.
Window that contains 1 Visible Datawindow
Datawindow is External Free Form 253 columns. There are expressions on the Visible and Y attributes of all columns.
Process...
Working with 2 local datastores.
Step 1: Datastore 1 retrieves 31,700 rows.
Step 2: Datastore 2 uses the same dataobject as the above external datawindow. A loop is used to go through all the rows in datastore 1 and using setitem populates datastore 2.
Step 3: Once the loop has completed then A rowscopy is used to copy all the rows from datastore 2 to the datawindow, this whole process only takes about 30 seconds. Note, setredraw was off on the datawindow when this process started.
Step 4: Once the rowscopy completes then setredraw is turned back on... this one command takes over two minutes before I get control back on the window.
Other note. I had added a messagebox after the setredraw(TRUE), when this messagebox pops up I can't interact with it. Seems like the setredraw is still running and preventing me from interacting with the messagebox. Once the screen has completed painting then the messagebox is active.
Any ideas on how to speed up the redraw? (Note: can't change the datawindow)