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!

How to get my text box values on the Crystal Report 8.5

Status
Not open for further replies.

me4u

Programmer
Sep 27, 2001
6
0
0
US
I want to display my text box values on a crystal report header.

@StartDate=txtStartDate
@EndDate=txtEndDate

I know we can use FormulaFields(1) but how?

I could do it easily using Crystal Report 4.5. Now I got newer version of CR 8.5.

Any help will be appreciated.

Thanks

 
I'm not sure if this is redundant but I create a Title formula:
"Report Date: "+ToText({StartDate},"MMM dd, yyyy")+" to "+ToText({EndDate},"MMM dd, yyyy")

Note that the MMM dd yyyy is the format of the date you wish and you can change it to whatever you want.

Note that you can also make the parameter field a range so that the start and end date are in the range of one parameter. You would then use the Minimum and Maximum fields with the ToText for your report header.

Hope this helps.

MoJoP
 
When you changed to V8x did you change integration methods? What method are you using? Ken Hamady, On-site/Phone Crystal Reports Training/Consulting
Quick Reference Guide to using Crystal in VB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top