In article <QZSdnRILUrV4lM_bnZ2dnUVZ_qupnZ2d (AT) comcast (DOT) com>, "Rick
Altman" <rick.a (AT) NOSPAMaltman (DOT) com> wrote:
Quote:
Is there any way to format a field based on data in another field? In other
words:
If Field X is "No" Color of Field Y is to be Red.
Thanks... |
It depends what you mean by "another field" and "change color", and
what version of FileMaker you're using.
In very basic terms for older versions of FileMaker (that works in all
versions), then it's not possible to change a field's colour at all. If
all you need to do is highlight colour behind a field, then you can use
a Global COntainer field and a Calculation field with a Container
result.
eg.
g_BackgroundColour Global, Container
Field_Y_Highlight Calculation, Container Result, Unstored
= If (Field_X = "No", g_BackgroundColour, "")
Into the g_BackgroundColour field paste a small rectangle of the
appropriate colour.
Put the Field_Y_Highlight field behind Field Y on the Layout, and
format it to expand the graphic. Then whenever Field X contains "No",
the calcuation will display the small coloured rectangle. When Field X
does not contain "No" the calculation leaves the field empty.
In newer versions of FileMaker you may be able to do more fancy tricks
using other techniques.
Helpful Harry
Hopefully helping harassed humans happily handle handiwork hardships ;o)