Solved

between function

Posted on 2008-10-15
2
899 Views
Last Modified: 2012-05-05
Unable to create a between statement  

if {@Markup %} is >= .41 and <= .4999 then .07

I have tried
"Iif Between({@Markup %} , 0.41  , 0.419999), { 0.07}, 'NULL' else" and receive remaining text does not appear to be a formula
0
Comment
Question by:kgittinger
2 Comments
 
LVL 42

Expert Comment

by:zephyr_hex (Megan)
ID: 22727802
if {@Markup} between .41 and .4999 then .07;

i don't have my copy of crystal reports available to me right now so i can't verify i have it right.
0
 
LVL 5

Accepted Solution

by:
jgbreeden earned 500 total points
ID: 22728088
To use the AND statement, lose the 'is' and repeat the value on the left side of the equal sign:
if {@Markup %} >= .41 and {@Markup %} <= .4999 then .07

I personally like that better than the between statement, it's more obvious whether you are getting >= or just >
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

948 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now