I have programmed a database aplication using DataFlex and written rather complicated Crystal Report report which worker until a certain time. Then it started to crash when printing to a window, but it still worked iif i print to a printer.
I think have isolated the problem to one formula field in the report. I erased everything except this field including all data files except the one that this field referde to, and I still got the crash.
The eroor message is:
CRRUN32 caused an invalid page fault in module CRPE32.DLL at 0167:1029aa00.
The only field in my report is a formula field which refers to the following formula:
IF {sysfil91.F_SKATTEBEVIS} = "J" then "F-skattebevis finns"
If I delete the first part of the formula so only
"F-skattebevis finns"
is left, the report works. If I make a new report using the same datafile and copying my long formula above to this report, it works.
I have run into a similar problem once before and then I solved it that way, but I didn't found any way to copy big parts of a report to another one so it was a big job. And obviously, it was a bad solution, as the same problem appeared again.
I am very grateful for ideas how to solve this.
Bengt
I think have isolated the problem to one formula field in the report. I erased everything except this field including all data files except the one that this field referde to, and I still got the crash.
The eroor message is:
CRRUN32 caused an invalid page fault in module CRPE32.DLL at 0167:1029aa00.
The only field in my report is a formula field which refers to the following formula:
IF {sysfil91.F_SKATTEBEVIS} = "J" then "F-skattebevis finns"
If I delete the first part of the formula so only
"F-skattebevis finns"
is left, the report works. If I make a new report using the same datafile and copying my long formula above to this report, it works.
I have run into a similar problem once before and then I solved it that way, but I didn't found any way to copy big parts of a report to another one so it was a big job. And obviously, it was a bad solution, as the same problem appeared again.
I am very grateful for ideas how to solve this.
Bengt