Parameters problem using CR and VB.NET
-
Hi every one I have a little problem with this issue. I have a Crystal Report Document with parameters (You know every time when you open it, With Crystal Report, a paremeters appears), When I try to open it using VB.net the parameters popup screen shows. My question is How can i put the parameters into the code in vb.net for disable the parameters popup screen ? Thanks This is my code for the parameters. (doesn't work)
Dim paramFields As New CrystalDecisions.Shared.ParameterFields Dim paramField As New CrystalDecisions.Shared.ParameterField Dim paramRange As New CrystalDecisions.Shared.ParameterDiscreteValue paramField.ParameterFieldName = "FromDates" paramRange.Value = "01/01/2005" paramField.CurrentValues.Add(paramRange) paramFields.Add(paramField) Me.CrystalReportViewer1.ParameterFieldInfo = paramFields
Johnny Lizardo