michaelrawi
Member
Hi,
I have a date parameter on my report, but I cant pass it from VB2005
Heres my code:
This didnt work. The date parameter in my report screwed up. Can someone give me solution?
Also, how can I pass parameter that have multiple values ?
Thanks in advance.
I have a date parameter on my report, but I cant pass it from VB2005
Heres my code:
Code:
Dim Param As CrystalDecisions.Shared.ParameterField
Dim myDiscreteValue As New CrystalDecisions.Shared.ParameterDiscreteValue
Param = crViewer.ParameterFieldInfo("pDate")
myDiscreteValue.Value = dateParam.dtSelect.Value.Date
Param.CurrentValues.Add(myDiscreteValue)
This didnt work. The date parameter in my report screwed up. Can someone give me solution?
Also, how can I pass parameter that have multiple values ?
Thanks in advance.