Solved

Calling Crystal Reports Gurus - Field Display Problem

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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Exchange and Third Party application. 8 60
Problem to setup 18 80
Sql how to exclude from a table 3 73
find a node in VST 2 47
This is about my first experience with programming Arduino.
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.
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 …
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 …

746 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

12 Experts available now in Live!

Get 1:1 Help Now