Solved

Calling Crystal Reports Gurus - Field Display Problem

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

Expert Comment

by:mlmcc
ID: 10319365
Glad I could help

mlmcc
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Part One of the two-part Q&A series with MalwareTech.
Simple Linear Regression
Introduction to Processes

623 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