in build 2010.2.792.0
i have a variable in report,name is "BegDate" and it is a datetime
i have a control in vb form,name is TwBegDate,it's value is a datetime
my code in vb.net
with rpt
.Dictionary.Variables("BegDate").Value = CDate(TwBegDate.Value)
end with
it can work
but
when i upgrad to 2010.2.800.0
i got an error
『Variable value '2010/10/13 上午 09:12:54'』 is wrong DateTime value
how to fix this error?
a Question for Variable
-
- Posts: 68
- Joined: Tue Feb 09, 2010 3:16 am
- Location: Taiwan
a Question for Variable
Hello,
Please try check the following code
Thank you.
Please try check the following code
Code: Select all
With rpt
.Item("BegDate") = CDate(TwBegDate.Value)
End With