We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Is it possible custom query dynamically to get reports?

Thread ID:

Created:

Updated:

Platform:

Replies:

130249 May 2,2017 07:26 AM May 18,2017 12:05 AM Report Platform 5
loading
Tags: Report Designer
handoyo
Asked On May 2, 2017 07:26 AM

Hi,

Is it possible to use custom query dynamically to get custom reports? Outside the designer. Thanks

Vinoth Srinivasan [Syncfusion]
Replied On May 3, 2017 07:59 AM

Hi Handoyo, 
 
Thanks for contacting Syncfusion Support. 
 
If your requirement is to update or modify the dataset query and populate the data for report, then you can use expression in dataset query or use parameter value as input to the dataset command text. Also dataset tag in report file can be edited at code behind as given in the below knowledge base. 
 
 
If we have misunderstood your requirement, please share more details on your requirement. 
 
Regards, 
Vinoth S. 


handoyo
Replied On May 3, 2017 08:14 AM

Hi, my first mistake was not saying that i'm intending to use the report in WinForm. Seems likely the report doesn't work on WinForm isn't it?

Vinoth Srinivasan [Syncfusion]
Replied On May 4, 2017 08:24 AM

Hi Handoyo, 

Currently, our reporting control is not available in WindowsForms platform. However, you can use WPF reporting control in Windows Forms using ElementHost control. We have prepared a sample to render reports in reporting control and it can be downloaded from the following location. 


Refer to the below MSDN link for more details on Element Host control.
https://msdn.microsoft.com/en-us/library/system.windows.forms.integration.elementhost(v=vs.110).aspx 

Regards, 
Vinoth S. 


handoyo
Replied On May 16, 2017 04:07 AM

Thanks for the sample. I will look at it.

Vinoth Srinivasan [Syncfusion]
Replied On May 18, 2017 12:05 AM

Hi Handoyo, 

Thanks for your update. We will wait to hear from you. 

Regards, 
Vinoth S. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;