Solved

Crystal Reports 7.0

Posted on 2006-06-15
5
254 Views
Last Modified: 2010-04-17
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
Comment
Question by:Crystal_De_Souza
5 Comments
 
LVL 16

Accepted Solution

by:
JohnBPrice earned 50 total points
ID: 16911092
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
 
LVL 1

Expert Comment

by:chandurs
ID: 16955128
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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question