i need to create a report in crystal reports filtering between dates.. from a web page i must be able to select two dates “from”, “to” and then generate a report that send me the data from the DB between that dates.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Imports CrystalDecisions.Shared
Imports CrystalDecisions.CrystalReports.Engine
Dim crTableLogonInfos As New TableLogOnInfos
Dim crTableLogonInfo As New TableLogOnInfo
Dim crConnectionInfo As New ConnectionInfo
Dim crReportDocuments As New YourReport(crystal report)
crReportDocuments.SetParameterValue(“@Parameter”, Parametervalue)
..
..
With crConnectionInfo ”(Connection Information)
.ServerName = ServerName
.DatabaseName = DataBaseName
If Uid <> “” Then
.UserID = Uid
.Password = pwd
Else
.IntegratedSecurity = True
End If
End With