INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Formula Help

How do I show a range parameter in my report? by AyJayEL
Posted: 8 Jun 01 (Edited 8 Sep 03)

If you have a range paramater it won't display if you drag it into the report. This is how you get it to display for the different types.

Create a formula thus;- (For versions 9 and above I am told you need to substitute Cstr for ToText, I don't use 9 so can't vouch for it!)

For a Date Range

"From: " + ToText (Minimum({?DateRange}))+"To: " + ToText(Maximum({?DateRange}))

Where ?DateRange is your parameter.

For a number range
"From: " + ToText (Minimum({?NumberRange}),0,"")+"To: "
+ ToText(Maximum({?NumberRange}),0,"")

Where ?NumberRange is your parameter

For a String Range
"From: " + Minimum({?StringRange})+
"To: " + Maximum({?StringRange})

Where ?StringRange is your parameter

Then put the formula in your report.

Back to Business Objects: Crystal Reports 1 Formulas FAQ Index
Back to Business Objects: Crystal Reports 1 Formulas Forum

My Archive

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close