Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Can a Selected Column in a query be used more than once...

I am trying to construct a query that I'd like to have a specific column repeated. Meaning... If I have an attribute Project_Id, I'd like it to appear in the first column and the 8th column of the returned results. Can this be done? If so, how?
Thx in Advanced... O.Frank

0 votes



One answer

Permanent link
I expect that you can have a column returned twice in a result (without
trying to figure out why you would want that). IDataQuery has a
'select' API that takes an array of ISelectionElements. If you build an
array that has the same column in two spots in the array, does it come
back twice in the results?

Matt Lavin
Jazz Server Team


allenof wrote:
I am trying to construct a query that I'd like to have a specific
column repeated. Meaning... If I have an attribute Project_Id, I'd
like it to appear in the first column and the 8th column of the
returned results. Can this be done? If so, how?
Thx in Advanced... O.Frank

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Oct 21 '08, 8:56 a.m.

Question was seen: 7,527 times

Last updated: Oct 21 '08, 8:56 a.m.

Confirmation Cancel Confirm