Friday, October 16, 2020

Conditionally Serial Number, Alternate row Color and font style in Crystal Report (Seagate CR)

1. Adding Serial number in Crystal Report

Add formula like:

WhilePrintingRecords;  

numbervar srno;  

srno := srno + 1; 





2. Adding alternate row color in Crystal Report 

Add formula like:
 
if RecordNumber Mod 2 = 0 Then crSilver else crblue 




3. Adding alternate font style in Crystal Report
 

if RecordNumber Mod 3 = 0 Then crbold else crRegular




No comments:

Post a Comment

How to install and configure Oracle Apex 24.1 with ORDS 22, Tomcat 9 and Jasper Report 7 on Oracle Linux 8.10

#########################Install Oracle  APEX 24.1################################ ----------------------------------------------------...