Solved

Crystal reports field from db numbering problem

Posted on 2002-05-06
4
128 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
  • 2
4 Comments
 
LVL 18

Expert Comment

by:bobbit31
Comment Utility
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 100

Accepted Solution

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

good luck
mlmcc
0
 
LVL 4

Author Comment

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

thanx
0
 
LVL 100

Expert Comment

by:mlmcc
Comment Utility
Glad to help.

Thanks for the help
mlmcc
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…

762 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

5 Experts available now in Live!

Get 1:1 Help Now