Report Problem (OpenInsight Specific)
At 11 MAY 1998 12:15:28AM Don Stropes wrote:
I have an application which has a report menu with several reports in menu selections. They have Basic+ code in events to perform selection and sorting activity with a list stored at the end. At the end of the code it runs Reporter which retrieves the list with GETLIST and then runs the report. This has worked fine for about a year and all at once (I've obviously done something) I get an error on a few reports and it breaks to the degugger. The error is SYS1002-The object code is invalid. Back in the debugger it says under RTP27-The source code is not available. What does this mean and what do I need to do to fix it?
At 11 MAY 1998 09:29AM Don Bakke wrote:
Don,
The error is SYS1002-The object code is invalid. Back in the debugger it says under RTP27-The source code is not available. What does this mean and what do I need to do to fix it?
RTP27 is the routine that attempts to load your programs (and events believe) so that they can be executed. It sounds like the object code became corrupted or lost.
Are the events actually getting fired and this problem occurs when a particular subroutine/function is getting called or does it seem like the event itself is failing to run? Is this a runtime environment? If so, then I would re-deploy (or checkout) the object code for any of these related items and try it again. If all else fails, delete these routine (or event) objects and recompile.
At 11 MAY 1998 10:49AM Don Stropes wrote:
This is happening on my development system. I ran some tests to see at what point it was happening in the event code and it happens when Reporter is called. Everything runs fine down to that point which is the last call in the code. If I just run the report using reporter, I get the same error. To me, this means it doesn't have anything to do with the event code. The report uses a GETLIST but everything else is vanilla. I made a small change in the report and saved it to see if that would make a difference, but it did not. Other reports using a GETLIST also work correctly.
At 11 MAY 1998 12:11PM Carl Pates wrote:
Don,
Are any of the columns you use in the report calculated or indexed? Can you report on these columns using RList? What are results?
It may be that code one of these columns (if they are calculated) is calling another that is invalid. I've problems similar to this when I've tried to execute code with unmatched Then/Else statements, which the compiler won't pick up…..
World Leaders in all things RevSoft