Walter Meester
HoogkarspelNetherlands
General information
Category:
Reports & Report designer
Hi Walter - You won't believe it! Remember this issue? I nailed it! Or at least, I figured out how to get rid of it.
My partner wrote a simple framework for this system, and as part of it, whenever the user resizes any form or pageframe, it automatically calls the resize method of each contained object. Before I run the form, I dump the ctrl-f10 into the keyboard buffer to automatically maximize the report. This calls the resize method for everything on the page from which I called the report. I don't know why, but by ensuring that the resize method doesn't fire as the report window is opening, I've eliminated the problem - or so it seems.
So it was the resize method tripping up the form. I don't know if this could be related to your problem, but I thought I'd share this with you since it's been gnawing at me every since our discussion.
Take care,
David
>Hi David,
>
>>Thanks for the response. While my client won't be thrilled, it's at least comforting to know that it's not just me.
>
>The same, applies to me. Thanks.
>
>>Did you try playing around with visibility or lockscreen at all, to see if you could get rid of the problem that way? I may give those strategies a shot, but they're low priority.
>
>Unfortunately, I don't recall which reports produced this result and it is not occuring in all cases, so I really don't know. But when this behaviour shows again, I will try to find and report the circumstances it occurs on.
>
>Walter,
>
>>>I've seen the same thing in a few of my applications. I never quite understood why. I did try to debug this, but found no solution to this problem. Also this problem occurs randomly. Only in about a 10 - 15 % of cases it shows up.
>>
>>>Since the behaviour by itself didn't give any other problems, I gave up debugging them.
>>
>>
>>>I have an application in which the report designer briefly displays before the actual report. It pops up on the screen for about 1 second, then the actual report displays. It's happening for all reports in the app.
>>
>>>Here's a snippet of code causing the problem:
>>
>>>keyboard '{CTRL+F10}' &&Maximize report screen
>>>repo form titles prev
>>>repo form titles prev &&Client wants report displayed after printing.
>>
>>I never use the keyboard command nor the double report form command, so in my case this is unrelated.
>>
>>>The only thing that seems unusual is the double REPO FORM call, but it's displaying the designer before each of the two calls.
>>
>>>Another interesting clue is that it only does it in the compiled version (which includes the report), not when run from the command window. Also, I'm getting a very occassional C000000000000005 fatal error after the report runs, but I think that is a separate issue, which I'm also trying to debug.
>>
>>Here we might have a circumstance: I too have the reports compiled into the exe in a few of my applications.
>>
>>>I'm running VFP 6 SP3.
>>
>>>Any help or ideas would be much appreciated!
>>
>>Nope, I gave up.. The problem wasn't worth the costs...
>>
>>Walter,
>>Life is what you make it.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only