Solved

Crystal Reports 7.0

Posted on 2006-06-15
5
255 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

A short article about a problem I had getting the GPS LocationListener working.
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
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…

756 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