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!

Passing text box information to Crystal Report

Status
Not open for further replies.

jpd01

Technical User
Feb 27, 2002
7
US
Dear All,

As I'm new to Crystal Reports, find some problem in the above mentioned subject. Though I see few responses those are of different versions of crystal reports. I'm using crystal reports 4.6.10 that comes with VB 6.0. I need the textbox information say startdate and enddate to appear in the reports. Kindly suggest with some example codes.

Thanks,
JPD
 
Do you have paramaters in your report?

crObject.Paramaterfields(0)="startdate;date(2001,1,1);True"
crObject.Paramaterfields(1)="enddate;date(2001,12,31);True" Editor and Publisher of Crystal Clear
 
But, when I use the ADO in crystal report 4.6.10 (comes with VB) I don't get parameterfields(x) displayed after "."
In such case how can I feed the parameter value from VB to crystal reports.
 
Did you place the Crystal OCX on your VB form? That's the object with the .ParameterFields property.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top