Search code examples
javaswingcrystal-reportscrystal-reports-xi

Different value printed on Java Crystal Reports


I am having a problem with my java program trying to print my crystal report. I generated a preview of the report on the crystal report editor and the value says 11.80 as seen on the picture.

Original Preview from Crystal Report Editor Then, I tried to preview the report from my java program which only just call the report and display it on a jpanel, I got a 12.20 as a result. How is that possible? Nothing has been modified in the report programatically upon preview aside from the database tables ( which points out to a single database) but it yields a different result. I'm using crystal reports xi.

enter image description here


Solution

  • Solved the issue. Not sure what happened, but after a couple of report editing, they arrived on the same answer.