Solved

How do i create running serial number in Reports

Posted on 2004-04-25
3
355 Views
Last Modified: 2006-11-17
Hi,
I have database with all the company's employees particulars and details inside.
When printing reports, i would like a 'Serial No.' column for each employee which runs consecutively from one employee to another. This serial no. need not be in the 'table' because i only need it to appear in my report.

I tried using the 'Auto-Number' function but the serial no. column does not run consecutively if i delete one of the employees record. It would go like ...

1.
2.
3.
5.
6.

In this case, the serial no. '4.' is deleted as the employee that had the serial no. '4' assigned to it using the auto-number function has been removed from the database. Really hope u all could help me in this.

Thank You.
0
Comment
Question by:k_adli
  • 2
3 Comments
 
LVL 54

Accepted Solution

by:
nico5038 earned 150 total points
ID: 10911509
Just place a new field and enter in the datasource (c.q. directly in the field):
=1
Now goto the properties and set the "Running sum" property to "Yes"

Clear ?

Nic;o)
0
 

Author Comment

by:k_adli
ID: 10914262
Thanx. Didn't know it was that easy
0
 
LVL 54

Expert Comment

by:nico5038
ID: 10915783
Took me a a lot of time to find out this was the easy way <LOL>.

Success with the application !

Nic;o)
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.

815 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now