How to put Slno in Crystal Reports

Posted on Posted in .NET

follow the below steps to insert slno in crystal reports.

  1. Right click on the field which the slno should to appear
  2. select format field,
  3. a new dialog box appears,
  4. towards the bottom of the dialog box there is an option that says display string,
  5. click on button that says x-2 in front of display string and write the following codes inside


numbervar e;
totext(e,’#’) + “. ” + CurrentFieldValue;


Save it and now you have the slno in crystal report!

Have any doubts? put them in comments below






Leave a Reply

Your email address will not be published. Required fields are marked *