?
Solved

How do i create running serial number in Reports

Posted on 2004-04-25
3
Medium Priority
?
390 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 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

850 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