1
I need to do something relatively simple with Crystal Report but I’m not getting it.
I have a report like this:
OP   |    CLIENTE   |   PREÇO
1          João          10
1          João          20
1          João          30
2         Marcelo        15
3         Rodrigo        35 
3         Rodrigo        15
4         Pâmela         27
And I’d like you to show up like this:
OP   |    CLIENTE   |   PREÇO
1          João          60
2         Marcelo        15
3         Rodrigo        50 
4         Pâmela         27
That is, group by Ops and add up the prices.
How do I do that??
What is the report data source ? A query with group by solves this.
– Motta
Yes, actually it would be even simpler to do with the query, but I’m assembling the whole report with the UI of Crystal Report for Visual Studio and would like to know how to do exactly this through it.
– Cassio Milanelo
@Cassiomilanelo There actually is. In the place where you select the data source, you should probably be selecting some table. Previously make a VIEW in the database and point to it.
– rodrigogq