Click here to Skip to main content
16,004,833 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
I have generate the crystal reports but i want the on report header Orignal ,Duplicate please tell me how it is possible
Posted
Comments
Abhinav S 6-Oct-11 3:45am    
Sorry, but your question is not clear.

First your application needs to determine whether the report was printed before.
Based on this you can use the technique described here[^] you to either set "Original" or "Duplicate" on the header of your report.
 
Share this answer
 
add a formula in page header
write the following formula



global numbervar num;
num:=num+1;
if(num=1)
then("ORIGINAL")
else
("DUPLICATE")


So for the first page the value of num will be one and hence it will print ORIGINAL and for the rest of the page it will print DUPLICATE
 
Share this answer
 
v2
your question is not clear please make it understandable.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900