Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 267
  • 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?

Thanks,
Munna
0
Crystal_De_Souza
Asked:
Crystal_De_Souza
1 Solution
 
JohnBPriceCommented:
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.
0
 
chandursCommented:
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
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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