开发者

How can I have a Visual Studio Report(.rdlc) with account information and also a chart in the same report?

I'm working on a report in Visual Studio 2008 with their Report tooling and I'm not sure how to approach this conceptually.

I have a report I want to generate. At the top of the report will be a bunch of information about a customer of our site (Name, Address, Phone). Then below will be a chart of the purchases that customer has each month.

My problem is that I want the content at the top of the page to use a query that selects from my Users table in my database. But then I need another query that gets all of the purchases grouped by month.

I've thought one way to approach this would be to place a subreport on the parent report that only contained the chart. The parent report would have the details of the account.

Is this 开发者_如何学JAVAthe correct approach?


you have two approach, first use subreport and second use a list and make a group on it. by list you can group your favorite data.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜