What you want to see on DotNetFunda.com ?
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 5667 |  Welcome, Guest!   Register  Login
 Home > Forums > ASP.NET > How Join Query work in Crystal Report ? ...
K011gusain89

How Join Query work in Crystal Report ?

Replies: 1 | Posted by: K011gusain89 on 10/29/2012 | Category: ASP.NET Forums | Views: 415 | Status: [Member] | Points: 10  


It is possible to make join query in crystal report in Visual studio 2010


Reply | Reply with attachment | Alert Moderator

 Responses below this adGet hundreds of .NET Tips and Tricks videos

 Replies

Rajesh081725
Rajesh081725  
Posted on: 10/29/2012 6:03:15 AM
Level: Bronze | Status: [Member] | Points: 25

Hai ,
Ya it is possible to join query in crystal report in Visual studio 2010
For example i am using two table in Customer and Product
First you need to write a procedure in TSQL like this

SELECT C.idCustomer CustomerId, C.Name Name, C.Address Address, P.Description Description, P.Total Total
FROM CUSTOMER C
INNER JOIN PRODUCT P
ON C.idCustumer = P.idCustomer
And add set this proc as the datasource for the report. Then you have to do a grouping for field, CustomerId in the report. After that you need to place the customer details in the group header section and the order details in the Details section. And also to get the total value for the you have to use the summary field in crystal reports


Thanks and Regards,
Rajesh Kumar.


Time is Gold
Thanks & Regards,
Rajesh Kumar,
9962038582.

K011gusain89, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Reply - Please login to reply


Click here to login & reply

Found interesting? Add this to:


 Latest Posts

Write New Post | More ...

About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 5/24/2013 7:46:53 PM