Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Concatenate result into one field Post Reply Post New Topic
Author Message
phimtau123
Newbie
Newbie


Joined: 10 Mar 2009
Online Status: Offline
Posts: 22
Quote phimtau123 Replybullet Topic: Concatenate result into one field
    Posted: 23 Apr 2009 at 3:17pm
Hello all,
 
Let say I have a database structure like below
 
ComputerID      HardriveID
123                     ABC
123                     DEF
123                     LKF
456                     DKE
 
So what that mean is that computerID 123 have 3 different hard-drive and computerID 456 have only 1 hard-drive.
 
What should I do so that when user run report on Computer123 it return all the HardriveID within one field? LIke this ( ABC, DEF, LKF) and only return DKE when user run report on computerID 456?
 
Thank you for your help
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 23 Apr 2009 at 6:50pm
create a parameter field that is the same field type as the computerid field and add it to your select select statement:
{table.computerid}= {?parameter}


Edited by DBlank - 23 Apr 2009 at 6:51pm
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.031 seconds.