• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 279
  • Last Modified:

Crystal Reports 7.0

Hi Guys,

I am using VB 6.0 and Crystal Reports 7.0 for developing my application. I am having a unique requirement. In the report which I have made, I have a document number which needs to be displayed on the report on the screen, but the document number should not be printed on the paper(as it is a pre-printed number). Can any one help me?

1 Solution
I don't know of any builtin function that you can use to test what the print device is, however since you say "for my application", if you are calling the report from an application you could pass a parameter that is different from print vs preview, and then conditionally suppress the field if printing.
insert a parameter field and pass value "Display" and "Hide", and supress the document number if the parameter value is "hide". In your application when you are calling preview pass "Display" and when you are calling print function pass "Hide" to the parameter
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now