cancel
Showing results for 
Search instead for 
Did you mean: 

Vb.net 2005 Main Report Sub Report Selection Formula

Former Member
0 Kudos

Hi. all

I am new to this ..

I developed a vb.net package and using crystal report vb.net 2005.

selection formula for main report is working

. CrystalReportViewer1.RefreshReport()

Dim dt As String

dt = Format(dt1.Value, "yyyy,MM,dd")

Dim sf As String

sf = "{LLINVOICE.CODE}='" & TextBox1.Text & "' and {LLINVOICE.I_DATE} in Date (" & dt & ") to Date (" & dt & ")"

CrystalReportViewer1.ReportSource = "C:\CrystalReport3.rpt"

I have a selection criteria in sub report too, which select same as LLINVOICE.Code

BUT DATE SELECTION IS DIFFERENT OF MAIN.

PLS TELL ME HOW TO MAKE SELECTION FOR MY SUBREPORT.

Thnaks in advance

Naseem

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Please re-post if this is still an issue to the .NET Development - Crystal Reports Forum or purchase a case and have a dedicated support engineer work with you directly