Solved

FileMaker Pro 8.5 container case statement using 3 reps

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Pop up windows can be a useful feature of any Filemaker database.  Though best used sparingly, they can be employed in a multitude of different ways, for example;  as a splash screen at login, during scripted processes to control user input, as pick…
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…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

776 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