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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

help for passing date from vb to crystal reports

Status
Not open for further replies.

sudi123

Programmer
May 8, 2002
20
0
0
US
hi i tried passing the date "01/01/2000" using the print engine function without the prompt using the following code


intResult = PEGetNthParameterField(intMainJob, 0, ParamFieldInfo)
ParamFieldInfo.CurrentValue = cdate("01/01/2000")
ParamFieldInfo.CurrentValueSet = True
temp1 = ParamFieldInfo.ValueType
intResult = PESetNthParameterField(intMainJob, i, ParamFieldInfo)

when i check the isdate function before passing its correct but after setting the parameter value the value of the date is something like "ah%" ..i donno what that means

am able to pass strings and integers correctly but because of the date am not able to get the correct data

can somebody help me regarding this



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top