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

Check lower/upper bound 1

Status
Not open for further replies.

xcmuchip

Programmer
May 31, 2001
70
Is there a way to check if the upper or lower bound check box was checked in the parameter window? When the range values are numeric, the min/max displays as 0.

TIA
 
Interesting point. If the user selects 'no lower bound' then the parameter prints as zero, but it will accept numbers below zero. The only way to check to see if they checked no lower bound is to use a boolean expression that checks to see if a really low negative number is in the range:

-999999 in {?rangeParam}

You can then use this Boolean to print a message:

if -999999 in {?rangeParam}
then "No Lower Bound"
else ""

Of course, the opposite is true for upper bound. Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Guide to using Crystal in VB
tek@kenhamady.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top