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

help !!! passing var from vb6 to cr8

Status
Not open for further replies.

prangkam

Technical User
Jul 3, 2001
1
TH
i have input data from MaskEdBox in VB6 and i would like to pass this variable (date) to CR8 to show in my report. i try this code:

CrystalReport1.ParameterFields(1) = "DateFrom;date(" & Format("DD/MM/YYYY") & ");true"

is it correct ? help me please
 
You have to pass dates in Crystal syntax, which is:

Date(yyyy,mm,dd)

ie

Date(2001, 12, 31) Ken Hamady
On-site custom Crystal Reports Training and Consulting.
Quick Reference Guide to using Crystal in VB.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top