-----Original Message-----
I assume what you are saying is something like;
If the data field would be let us say "red" you want it to
print "green" instead, otherwise you want it to print the
data as is.
Let us call the data field [colorcode]
The easiest way I think would be to use an IIF statement.
IIF([colorcode] = "red","green",[colorcode])
this would replace data "red" with "green" otherwise it
would print the words in [colorcode]
If you put this in a text box, make sure you insert "="
before the funstion, like:
=IIF([colorcode] = "red","green",[colorcode])
Also make sure the texbox name is something other than the
names of your data fields.
You can also nest this IIF statement, remember the basic
struture of the stement is;
=IIF( condition,if true, if false) separated by "," commas.
Hope this helps.
Fons
-----Original Message-----
I use Access to make labels, one of which is folder
label. I wonder if I can use "IF...THEN...ELSE" to make
one item on the label to appear as something else if
there
is a corresponding data.
Appreciate any guidance, SQL codes or steps.
Kath
.
.