Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi,

 

I have a date parameter on my report, but I can't pass it from VB2005

 

Here's my 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 didn't 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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...