I want to make serial No. automatically in PDF report as existing data
like this screen shoot:
There is any code to make serial No.?
I want to make serial No. automatically in PDF report as existing data
like this screen shoot:
Hi, you can do this in your query for example. This is for Mysql
select name,
@rownum := @rownum + 1 as row_number
from your_table
cross join (select @rownum := 0) r
order by name
Many thanks .
Itried it again, and It worked very good.