Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Table with nested Datasets(Trying to create a table with nested datasets that pass parameters downstream)
Table with nested Datasets [message #1713774] Fri, 06 November 2015 15:25 Go to next message
Keith Clark is currently offline Keith ClarkFriend
Messages: 11
Registered: July 2014
Junior Member
I am trying to create a report that has datasets like:

DataSet1:
select * from customers

DataSet2:
select * from orders where custid = ?
(where the ? parameter links to the current custid of DataSet1)

I would like the report to be like such:

Cust1
-Cust1.order1
-Cust1.order2
-Cust1.order3
Cust2
-Cust2.order1
-Cust2.order2

And so on.

I am thinking I want a table (for DataSet2) within a table (for DataSet1) to display all the orders per customer, but I am not sure how to link DataSet2 back to the current DataSet1 record.

Anyone have any examples?

[Updated on: Fri, 06 November 2015 15:26]

Report message to a moderator

Re: Table with nested Datasets [message #1713776 is a reply to message #1713774] Fri, 06 November 2015 15:31 Go to previous message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2902
Registered: July 2012
Senior Member
Sounds like you want to show a tree rather than nested tables. Or am I wrong? From what you are showing, I would look for TreeViewer or even NatTable dependent on the use cases you want to include in your "table".
Previous Topic:Open file from commandline
Next Topic:Sleak: Device is not tracking resource allocation
Goto Forum:
  


Current Time: Fri Mar 29 06:13:47 GMT 2024

Powered by FUDForum. Page generated in 0.08912 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top