cancel
Showing results for 
Search instead for 
Did you mean: 

Crystal Reports 2008 Error 'Invalid object format name' - - Part 3 of 3

Former Member
0 Kudos

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)?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Ram,

I am marking this thread closed and answered. Please visit the[ "Part 1 of 3" thread |;for the details. The short answer is that CR2008 isn't supported with VB6.

Dan Kelleher

Answers (1)

Answers (1)

Former Member
0 Kudos

Answer provided in the "Part 1 of 3" portion of these multiple threads.