开发者

Crystal Reports - two print formats

I have two ways to print a report, into a PDF or o开发者_C百科n letterhead.

Is it possible to have in a report a customization so that in the PDF I have a logo in the header, and on the letterhead I don't have that logo in the header?


You could add a parameter with a boolean to the report. Something like IsPDF and then in the header Click on the Format Graphic (assuming it is an image) of the logo and then choose the X2 across from the Suppress checkbox.

Crystal Reports - two print formats

From there you can write code that will suppress the graphic when the IsPDF paramater is False and not suppress when the IsPDF is True.

IF {?IsPDF} = True Then
False

Edit: After writing this out I think I would actually make the boolean parameter be IsLetterHead so that when it was True it would be consistent with the True in the Suppress. In other words

IF {?IsLetterHead} = True Then
True
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜