Connecting Tech Pros Worldwide Forums | Help | Site Map

Need help to write a code/query

Newbie
 
Join Date: Nov 2008
Posts: 26
#1: Dec 12 '08
Hi All,

Have query where I get the result like (except "-------------------",put it to separate the two columns)

NUMBER ---------------TYPE DESCRIPTION
17 --------------------------Basic
17 --------------------------Basic
17 --------------------------Actions
17 ---------------------------Conditions
17 ----------------------------Factors
18 ----------------------------Basic
18 ---------------------------Actions
19 ------------------------------so
19 ------------------------------so
so on …….

But would like result following way

NUMBER ----------------TYPE DESCRIPTION
17 ----------------------------Basic| Basic| Actions| Conditions |Factors
18 ----------------------------Basic| Actions
19 ------------------------------so|so
so on…….

Is the anyway I can get my desire result?
If possible give code or example.

Thank you.
Shimul

Note: If question is not clear please check the attachment.

Newbie
 
Join Date: Nov 2008
Posts: 26
#2: Dec 12 '08

re: Need help to write a code/query


OR

Hi All,

Have query where I get the result like (except "-------------------",put it to separate the two columns)

NUMBER ---------------TYPE DESCRIPTION
17 --------------------------Basic
17 --------------------------Basic
17 --------------------------Actions
17 ---------------------------Conditions
17 ----------------------------Factors
18 ----------------------------Basic
18 ---------------------------Actions
19 ------------------------------so
19 ------------------------------so
so on …….

But would like result following way

NUMBER ----------------TYPE DESCRIPTION
17 ----------------------------Basic, Basic, Actions, Conditions ,Factors
18 ----------------------------Basic,Actions
19 ------------------------------so,so
so on…….

Is the anyway I can get my desire result?
If possible give code or example.

Thank you.
Shimul

Note: If question is not clear please check the attachment.
FishVal's Avatar
Expert
 
Join Date: Jun 2007
Location: Israel
Posts: 2,584
#3: Dec 13 '08

re: Need help to write a code/query


Hello, shimul.

Check, please, this thread.

Regards,
Fish.
NeoPa's Avatar
Administrator
 
Join Date: Oct 2006
Location: London - UK
Posts: 15,730
#4: Dec 18 '08

re: Need help to write a code/query


You may also find Producing a List from Multiple Records helpful.

Good luck, and welcome to Bytes!
Reply