AndrewMozley
Programmer
An application has a facility for showing a report preview on the screen. The code to do this is broadly :
When this code is run, it sometimes shows the spinning circle icon for a fraction of a second or for a few seconds while the report is showing on the screen. Only then can the user scroll up and down the preview, scroll to the next page &c. And occasionally the program will stall so that the user has to escape with Ctrl-Alt-Del.
If the report preview is run twice consecutively, it often happens that the first time it will stall briefly, but on a subsequent run it will run through smoothly
This effect can happen both in the development environment and also on a user's site where he is running the .exe file which has been built and distributed.
Have any other users experienced this effect?
Code:
* Create and populate the cursor containing the data for the report
* set lRepname to the name of the frx.frt files containing the report definition
. . . .
oRepForm = CREATEOBJECT("Form")
WITH oRepForm
.WindowState = 0 && This puts the form into windowed state.
* Then set height and width according to space available
ENDWITH
REPORT FORM &lRepname PREVIEW WINDOW (oRepForm.Name)
When this code is run, it sometimes shows the spinning circle icon for a fraction of a second or for a few seconds while the report is showing on the screen. Only then can the user scroll up and down the preview, scroll to the next page &c. And occasionally the program will stall so that the user has to escape with Ctrl-Alt-Del.
If the report preview is run twice consecutively, it often happens that the first time it will stall briefly, but on a subsequent run it will run through smoothly
This effect can happen both in the development environment and also on a user's site where he is running the .exe file which has been built and distributed.
Have any other users experienced this effect?