Click here to Skip to main content
15,904,416 members

Comments by Viper2010 (Top 4 by date)

Viper2010 9-Aug-12 6:08am View    
I found a other way for to solve my problem.
i usd from FILTER CONTROL DevExpress And Connected to XtraReport :
Dim Rep As New XtraReport1
Rep.FilterString = FilterControl1.FilterString
Rep.ShowPreview()
Viper2010 9-Aug-12 5:31am View    
you can create a parameter and bind with sql command in your program and pass to Crystal.
Viper2010 5-Aug-12 4:15am View    
Sorry I do not your mean, Please explain more.
therefore, work with web application instead of windows application?
Viper2010 4-Aug-12 6:26am View    
Thanks, but i already search in website http://documentation.devexpress.com/#XtraReports/CustomDocument4804
But my problem is not resolved.

specially this Line of Code :

Imports System
Imports DevExpress.XtraReports.UI
Imports System.Drawing.Printing
' ...

Private Sub XtraReport1_BeforePrint(ByVal sender As Object, ByVal e As PrintEventArgs) _
Handles MyBase.BeforePrint
customerReportsTableAdapter.Fill(nwindDataSet1.CustomerReports, CDate(parameter1.Value), _
CDate(parameter2.Value))
End Sub