Solved

Crystal reports field from db numbering problem

Posted on 2002-05-06
4
133 Views
Last Modified: 2010-05-02
Ok i amk having a simple numbering problem
in my details section of my report, i have a description field from the database, According to my sql
query, there could be one record or 400 according to the criteria in the sql statement

now i need to number them like this

1) Desc 1
2) Desc 1
3) Desc 1
4) Desc 1
..
..
..


5) Desc 1


any help would be great

thanx

Craig
0
Comment
Question by:CraigLazar
[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
4 Comments
 
LVL 18

Expert Comment

by:bobbit31
ID: 6991475
add a new Running Total Field to your report.
in the wizard set the fields like this:

Field to summarize: primary key of table (or some other field, but i'd suggest pkey)

Type of Summary: count
Evaluate: For each record
Reset: never

Then place this Running total field on your report on your report

0
 
LVL 101

Accepted Solution

by:
mlmcc earned 50 total points
ID: 6991498
Use the record number option in the special fields of the field explorer.

good luck
mlmcc
0
 
LVL 4

Author Comment

by:CraigLazar
ID: 6993147
Hi Guys,
thanx for the imput
mimcc - your answer was the quickest
it worked great

thanx
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 6995361
Glad to help.

Thanks for the help
mlmcc
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

734 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