Solved

between function

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
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.

706 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

11 Experts available now in Live!

Get 1:1 Help Now