Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing DateTime parameter from VB.

Status
Not open for further replies.

nag999

Programmer
Apr 16, 2003
33
0
0
IN
Hi All,

I am facing a strange problem in passing DateTime() parameter from VB. I had written the following code to pass DateTime Parameter in crystal.

.ParameterFields(4) = "Contract Status As of Date;DateTime(" & strYear & "," & strMonth & "," & strDay & ",0,0,0);True"

It is giving me "Invalid Parameter field Value" Error.

Thanks,
Nagaraj
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top