I am having problems with on demand subreport captions being exported incorrectly. The report works and looks great in crystal.
Here is the on demand caption formula
Dim Text as String
Text = CSTR(DistinctCount ({SKU}, {WHSE}),0,",") & chr(10) & chr(13)
Text = Text & CSTR(Sum ({Incomplete Unit}, {WHSE}),0,",")
Formula = Text[/color blue]
In crystal 10 skus and 50 units would look like this
10
50
In PDF or Excel it looks like this.
1050
It is almost like PDF or Excel is failing to create the new line. It does not matter which order 10 and 13 are in.
I have a series of these subreports setup in columns. As you go left to right the subreport captions will give the number of skus and units in various stages of being processed. This report works and looks great in crystal reports. People can click on the subreport to get the details for that particular process.
Something else I have noticed is crystal will wrap the name of the subreport around within the field space if I don't give the subreport an on demand caption. However if I export to PDF only part of the caption is visible on one line.
Here is the on demand caption formula
Dim Text as String
Text = CSTR(DistinctCount ({SKU}, {WHSE}),0,",") & chr(10) & chr(13)
Text = Text & CSTR(Sum ({Incomplete Unit}, {WHSE}),0,",")
Formula = Text[/color blue]
In crystal 10 skus and 50 units would look like this
10
50
In PDF or Excel it looks like this.
1050
It is almost like PDF or Excel is failing to create the new line. It does not matter which order 10 and 13 are in.
I have a series of these subreports setup in columns. As you go left to right the subreport captions will give the number of skus and units in various stages of being processed. This report works and looks great in crystal reports. People can click on the subreport to get the details for that particular process.
Something else I have noticed is crystal will wrap the name of the subreport around within the field space if I don't give the subreport an on demand caption. However if I export to PDF only part of the caption is visible on one line.