Solved

How to add "Event Number" before a sorted event?

Posted on 2014-10-29
7
148 Views
Last Modified: 2014-10-29
i have a Report named Events. The events report simply lists the accident events in order of date the time. I am trying to add the following to automatically add "Event 1 - , Event 2 - , Event 3 - , Etc..." before each event description.

I searched online and in books to find an example of how to do this, can't find any.

I attached a sample db and report.

Any help is a blessing.
Database101.accdb
Events-Report.jpg
0
Comment
Question by:cssc1
[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
  • 5
7 Comments
 
LVL 19

Expert Comment

by:Eric Sherman
ID: 40411474
Can't download your sample db.  Try re uploading a valid .accdb file.

ET
0
 
LVL 19

Expert Comment

by:Eric Sherman
ID: 40411492
Without seeing the layout of your report, you could try the following.

1.) Add a hidden text control (TxtCounter) to use as a counter in the detail section of the report. Set its value to =1 and the running sum property to over all or what ever is appropriate.  
2.) Create another text control in the detail section and set the control source value to ="Event" & " " & TxtCounter.

ET
0
 
LVL 37

Expert Comment

by:PatHartman
ID: 40411773
etsherman, I have the same problem with .accdb files (can't download them).  The problem is caused by an incompatibility between IE and the way this site encodes file types.  Try another browser if you have one available.  The site managers are aware of the problem but I don't know if they are going to fix it.
0
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 
LVL 19

Expert Comment

by:Eric Sherman
ID: 40411832
Thanks for the info Pat.

ET
0
 
LVL 19

Accepted Solution

by:
Eric Sherman earned 500 total points
ID: 40411868
See report in the attached modified sample db.

ET
Database101-Fixed.accdb
0
 

Author Closing Comment

by:cssc1
ID: 40412328
Thanks for sharing your talent
0
 
LVL 19

Expert Comment

by:Eric Sherman
ID: 40412337
Glad I could help.

ET
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

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, when working with VBA, learn some techniques for writing readable and easily maintained code.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

690 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