Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Calling Crystal Reports Gurus - Field Display Problem

Posted on 2003-11-04
5
Medium Priority
?
190 Views
Last Modified: 2010-04-17
Dear Friends,
I am terribly stuck up with this.
I have a crystal report in which I need to display the reference numbers in one of the fields.

Since the field is in a header section, I created a subreport with the formula field that need to display the values.

For eg: In the main report, for order number 1, it can have reference number 1,2,3. The sub report field is placed in the main report and it displays as

,1
,1,2
,1,2,3

My formula field is

stringvar tmp := tmp + "," + ToText ({inv.r_no});

An immediate help is greatly appreciated.

Thanks and Regards,
Venkat.
0
Comment
Question by:venkatraman_r
  • 3
5 Comments
 
LVL 101

Expert Comment

by:mlmcc
ID: 9688860
I don't understand your question or problem.

What are you placing on the report?
What do you want to see?
What are you getting?

mlmcc
0
 

Author Comment

by:venkatraman_r
ID: 9692152
Here again.

In my table I have records like this:

ord no     ref no
1               1
1               2
1               3

In my report, for ord no 1, I want to display 1,2,3 for the ref no field. So, I added a formula field and gave this formula.

stringvar tmp := tmp + "," + ToText ({inv.r_no});

and the formula field displays like this:

,1
,1,2
,1,2,3

Do I sound clear now?

Thanks,
Venkat.

0
 
LVL 101

Accepted Solution

by:
mlmcc earned 750 total points
ID: 9696469
I assume the subreport is linked to the main report by the order number.  If not it should be.

Try this
In the subreport
Select the formula field
Click FORMAT --> FORMAT FIELD
Click the formula button next to SUPPRESS
Enter the following formula
NOT OnLastRecord

mlmcc
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 10319365
Glad I could help

mlmcc
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
We live in a world of interfaces like the one in the title picture. VBA also allows to use interfaces which offers a lot of possibilities. This article describes how to use interfaces in VBA and how to work around their bugs.
Simple Linear Regression
Starting up a Project

927 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