Link to home
Start Free TrialLog in
Avatar of venkatraman_r
venkatraman_r

asked on

Calling Crystal Reports Gurus - Field Display Problem

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.
Avatar of Mike McCracken
Mike McCracken

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
Avatar of venkatraman_r

ASKER

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.

ASKER CERTIFIED SOLUTION
Avatar of Mike McCracken
Mike McCracken

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Glad I could help

mlmcc