Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 292
  • Last Modified:

FileMaker Pro 8.5 - Case statement question...

I have a situation where I am using a Case statement to turn a container either red or green colored based on the results of a total field. The statement I was using is:
Case ( total < 1 ; cont1[1] ; cont1[2] )

This works great. However, my end user just informed me that he needs to change this equation such that any result in the "total" field that is BETWEEN and including 0.00 and 1.00 should turn the cont1[1] (green) and anything above OR below that range should turn cont1[2] (red).

I am not sure how this statement should be phrased.
thx experts...
-BobR
0
bobrossi56
Asked:
bobrossi56
1 Solution
 
North2AlaskaCommented:

CASE ( total < 0 or total > 1 ; cont1[2] ;
       cont1[1]
)

Open in new window

0
 
bobrossi56Author Commented:
Works like a charm. Didn't know you could put an OR expression in a Case statement. Thx...
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now