Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Parameter value Change Post Reply Post New Topic
Author Message
Hossam
Newbie
Newbie
Avatar

Joined: 31 Mar 2009
Location: Egypt
Online Status: Offline
Posts: 23
Quote Hossam Replybullet Topic: Parameter value Change
     Posted: 01 Apr 2009 at 9:27am

Hi all,

 

My data source has 2 columns Login ID and Actual Name I must filter with Login ID but when display the value in header displaying the Actual Name

 

Any help i will be appreciated

 

IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 01 Apr 2009 at 9:45am

Not sure what you mean here.

If you have filtered by the ID then then only values left would be a name field that relates to that unique ID# and you can therefore just drop that field into the header to show it...
Do you mean you need the parameter for selction by the end user to select the USername but your select statement has to use the ID#?
IP IP Logged
Hossam
Newbie
Newbie
Avatar

Joined: 31 Mar 2009
Location: Egypt
Online Status: Offline
Posts: 23
Quote Hossam Replybullet Posted: 01 Apr 2009 at 9:57am
I need the parameter for selection by the end user select the Login ID value but the value display in report haedr another column value
 
 
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 01 Apr 2009 at 10:12am
Does it not work to just put in the Name field in there or are you not filtering the data by the Userid selected?
IP IP Logged
Hossam
Newbie
Newbie
Avatar

Joined: 31 Mar 2009
Location: Egypt
Online Status: Offline
Posts: 23
Quote Hossam Replybullet Posted: 01 Apr 2009 at 3:30pm

Dear,

let me describe by this way

 

i have parameter named " login Name" and report result shuold display the parameter was filterd by in header

 

------------------Report Header----------------------------------

-----------------Here is display login name i was filter by ------------------

 

but i have another column have the Actual name(in the datasource) for this user and I should be displaye in the header the actual name for this login name i was filterd by

 

hope you got what's i mean

   

 

IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 02 Apr 2009 at 7:23am
Since you have filtered byusing a parameter all of the data that is pulled into the report is only for that user. Therefore if you place the field of "actual Name" in the header it should display the name you want. YOu can use any field in a pager header, it just displays the content fromt he first row of data in the report. Since this data should be the same for all you records basedon your selection criteria it should not be an issue.
Just drag and drop the "Actual Name" field onto the Rerport header and see what is there. If it is not the name you expect please describe what you got instead.


Edited by DBlank - 02 Apr 2009 at 7:24am
IP IP Logged
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