Group by without SQL-Statement

Stimulsoft Reports.NET discussion
Post Reply
mocoeg
Posts: 1
Joined: Wed Jul 04, 2012 8:31 am

Group by without SQL-Statement

Post by mocoeg »

Hello Guys

I have the following situation:

TABLE_1 with the columns: OBJECTID, FUNCTION, LENGTH

Now i need to sum-up the LENGTH grouped by the FUNCTION. I can do this with a SQL statement like that:

select sum(LENGTH), FUNCTION from TABLE_1 group by FUNCTION.

But is there a possibility to do this with the tools from Stimulsoft and without a SQL statement?

Thanks for your help!
mocoeg
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Group by without SQL-Statement

Post by HighAley »

Hello.
mocoeg wrote:I have the following situation:

TABLE_1 with the columns: OBJECTID, FUNCTION, LENGTH

Now i need to sum-up the LENGTH grouped by the FUNCTION. I can do this with a SQL statement like that:

select sum(LENGTH), FUNCTION from TABLE_1 group by FUNCTION.

But is there a possibility to do this with the tools from Stimulsoft and without a SQL statement?
You could create data Source from other DataSource.

Look at the attached report template .

Thank you.
Attachments
Report.mrt
(8.43 KiB) Downloaded 163 times
data.xml
(683 Bytes) Downloaded 143 times
Post Reply