Hi
How to display Sr no like below . I am using Crystal report version 16
| Sr | Name |
| 1 | aaaaaaa |
| 2 | aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa |
| aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa | |
| aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa | |
| aaaaaaaaaaaaaa |
Thanks
Ramco RamcoPosted Aug 11, 2023, 3:57 AM
Hi Jignesh
It is running total field . CanGow option is appearing disabled. . I want if Description is of 5 lines then height of Sr No should be 5/2 and it should appear as Vertically centered. If it is 7 then 7/2 and so on
Thanks
Jignesh KumarPosted Aug 1, 2023, 5:51 AM
Hello Ramco,
Have you tried Can Grow check box enable, Right click on your field, then Under the Common tab, set text rotation to 90 degrees and set the Can Grow check box to on
Lokesh VarmanPosted Jul 31, 2023, 7:18 AM
???????Let me know if it works
Right-click on the field representing the Sr. No (the formula field or database field you used for generating the Sr. No).
Select "Format Field" from the context menu.
In the "Format Editor" window that appears, go to the "Common" tab.
Look for the option called "Vertical Alignment" or "Text Interpretation" (depending on your Crystal Reports version).
Choose "Center" from the drop-down list for the vertical alignment.
Click "OK" to apply the changes.
Ramco RamcoPosted Jul 30, 2023, 8:44 AM
Hi Lokesh
My question is to how to display Sr.No vertically centered as per scenario shown. I am able to generate Sr No.
Thanks
Lokesh VarmanPosted Jul 30, 2023, 5:16 AM
To display serial numbers (Sr no) in a Crystal Report, you can create a running total to serve as the counter. Unfortunately, Crystal Reports does not have a built-in feature to directly display serial numbers. Here's how you can achieve this using a running total:
Open your Crystal Report in Crystal Reports version 16.
Insert the necessary fields (Sr and Name) into your report.
Create a formula to generate the Sr no. To do this, go to "Field Explorer" -> "Formula Fields" -> "New." Name the formula something like "SrNumber" and use the following formula:
Place the formula field ({@SrNumber}) in the Details section of your report, where you want the serial numbers to appear.
Right-click on the formula field and select "Insert" -> "Summary."
In the "Insert Summary" dialog box, choose the following options:
Click "OK" to create the running total field.
The running total will increment for each record, effectively displaying the serial numbers in ascending order as desired.
Preview your report, and you should see the serial numbers displayed correctly in the Sr column.