on 07-15-2021 8:15 AM
A Crystal Report recently came across my desk where a date field wasn't matching up with what the User had just entered and viewed in the application. Both the application and the Crystal Report were attached to the same Database Source and were both displaying the same field, but for whatever reason the Crystal Report was displaying an incorrect date. After tearing the entire report apart trying to figure out what was causing the issues I realized that the Field in the Table was simply not pulling back valid data after displaying nothing else but the one field, it was either old or corrupt. I ended up solving the issue by removing the table and re-adding it and the field, but the question remains... why did it happen? Has anyone had any issues similar to this and was able to figure out what was the cause?
Thanks
Sometimes the File system will "flip" a bit in the rpt file causing problems.
Sometimes the DB Client may do it also after updates to the client or DB.
Hard to say for sure, there are no tools to debug a bad report file.
Depending on the Client used you could enable CRLogger, crystals database logging component, or ODBC Trace or an OLE DB trace, they may catch the actual error.
Sometimes the Date format set on the users PC may be different than when the report was designed.
Date field are finicky most times due to lots of conversions/formatting routines in both the DB Client, the OS and CR.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.