Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Data report Serial Nos.

Status
Not open for further replies.

ISChana

Programmer
Dec 18, 2002
32
0
0
IN
Dear All.
Can anybody tell me how to put serial numbers in the data report e.g.my output is

name class
aa 4
bb 6
cc 5
dd 10
ee 2

now myreport should be as

Sr. nO. name class
1 aa 4
2 bb 6
3 cc 5
4 dd 10
5 ee 2


thanks

inderjeet
 
You can try to do it in the query, if you're working directly with the database (no recordset manipulation) you can look for the database's engine implementation of that, or if you're manipulating the recordset you can use a column and update with an incremental value (not sure if this will work, i haven't try it myself)

Hope this helps,
David.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top