Solved

Crystal reports field from db numbering problem

Posted on 2002-05-06
4
129 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
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 100

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 100

Expert Comment

by:mlmcc
ID: 6995361
Glad to help.

Thanks for the help
mlmcc
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

863 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

19 Experts available now in Live!

Get 1:1 Help Now