Solved

between function

Posted on 2008-10-15
2
901 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 43

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

840 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