Solved

Calling Crystal Reports Gurus - Field Display Problem

Posted on 2003-11-04
5
174 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 100

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 100

Accepted Solution

by:
mlmcc earned 250 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 100

Expert Comment

by:mlmcc
ID: 10319365
Glad I could help

mlmcc
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
What are programming codes and how do they work? 7 112
draw a Christmas tree by using a nested loop? 26 92
Help Required 2 46
Cygwin - GNU GPL License 1 43
A short article about a problem I had getting the GPS LocationListener working.
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

679 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