Solved

FileMaker Pro 8.5 container case statement using 3 reps

Posted on 2009-07-02
2
252 Views
Last Modified: 2012-05-07
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 < 0 or total > 1 ; cont1[2] ; cont1[1])

This is working fine, but suppose I want to NOT color the field if its empty. I assume I would need to add a third repetition to the container, but how would I structure the CASE statement? Lets assume the container rep [3] is colored white. I want it to be white [3] if empty. The above calc for [1] and [2] stay as they are.

thx experts...
BobR
0
Comment
Question by:bobrossi56
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 12

Accepted Solution

by:
North2Alaska earned 500 total points
ID: 24768469
You could but maybe just don't set it to anything at all.

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

I don't know if that will work.  Otherwise, do as you suggested and create another repetition of the container and change the "" to cont1[3].
0
 

Author Closing Comment

by:bobrossi56
ID: 31599391
Works like a charm, thx
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

Conversion Steps for merging and consolidating separate Filemaker files The following is a step-by-step guide for the process of consolidating two or more FileMaker files (version 7 and later) into a single file with multiple tables. Sometimes th…
Having just upgraded from Filemaker 11 to Filemaker 12 over the weekend, we thought we would add some tips for others making the same move.  In general, our installation went without incident. Please note that this is not a replacement for Chapter 5…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

691 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