?
Solved

How do i create running serial number in Reports

Posted on 2004-04-25
3
Medium Priority
?
380 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 54

Accepted Solution

by:
nico5038 earned 600 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
AutoNumbers should increment automatically, without duplicates.  But sometimes something goes wrong, and the next AutoNumber value is a duplicate.  This article shows how to recover from this problem.
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.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

801 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