Report Design
 Crystal Reports Forum : Crystal Reports .NET 2003 : Report Design
Message Icon Topic: How to do this ? Post Reply Post New Topic
Author Message
GowthamSen
Groupie
Groupie


Joined: 03 Jun 2009
Location: India
Online Status: Offline
Posts: 65
Quote GowthamSen Replybullet Topic: How to do this ?
    Posted: 22 Dec 2009 at 10:55am
Hi,
 
I have two different queries in my crystal report.
 
Lets say Query1, Query2.
 
In Query1 , I have columns EmpId, EmpName, Sal.
 
In Query2, I have columns  Label, Actual Label, Language
 
I am displaying Query1 data in Details section. As of now I am displaying headings as Employee_Id, Emplyee_Name and Salary.
 
Now I want to display different labels as headings based on input parameter language.
 
So In Query 2, I have list of all labels and Actual Labels.
 
I created formulas for header labels as , EmpId_Lang, EmpName_Lang and Sal_Lang.
 
I created the forumla for EmpId as follows.
 
= If ( {Quer2.LABEL}="Employee Id" and {?Lang}='Chinese") Then {Query2.'Actual Label'} ELSE "Employee Id"
 
The problem is, its working only for first record. But if the conditioned label is after 1st record in Query2, its not working.
 
how can we do thi? Do we have this kind of functionality in Crystal?
 
Thanks in advance
 
Regards
Gowtham
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.047 seconds.