on 02-02-2011 1:35 AM
Crystal Reports 2008 Error 'Invalid object format name' upon setting a custom font on a field object - Part 3 of 3:
- Note that the ApplyFont() call is successful on each object as the object format is changed by the application. The failure occurs when the Preview window opens, and Crystal begins to render the report.
- Looks like the error appears when the database field being displayed in the report is a numeric or date type. If I convert the display field to text using a formula, the report runs successfully - while it is feasible to do this for few reports, it is not possible for customers to manually fix every report, since they literally have 1000s of them.
- Found a posting describing a similar issue in this forum, which recommended installing Crystal Reports 2008 FP 2.6, but it did not resolve the issue.
Questions:
- Is there a patch that addresses this problem?
- If there is no patch, is there a way to 'inject' a formula into the report file at runtime that would convert the field definition into a string type (without losing the original formatting information)?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Answer provided in the "Part 1 of 3" portion of these multiple threads.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.