Solved

FileMaker Pro 8.5 container case statement using 3 reps

Posted on 2009-07-02
2
248 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
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

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

Title # Comments Views Activity
File Maker is not opening 4 539
PDF In Filemaker GO 3 1,067
FM - Reducing height of rows in 150% Table View 11 86
FM - Problem Printing Color from Filemaker 6 131
Problem: You have a hosted FileMaker database and users are tired of having to use Open Remote or Open Recent to access the database. They say, "can't you just give us something to double-click on rather than have to go through those dialogs?" An…
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…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

863 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

22 Experts available now in Live!

Get 1:1 Help Now