Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Calling Crystal Reports Gurus - Field Display Problem

Posted on 2003-11-04
5
Medium Priority
?
186 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
[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
  • 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

The top UI technologies you need to be aware of

An important part of the job as a front-end developer is to stay up to date and in contact with new tools, trends and workflows. That’s why you cannot miss this upcoming webinar to explore the latest trends in UI technologies!

Question has a verified solution.

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

If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Introduction to Processes

705 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