Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7517 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I think I finally found something Filemaker can not do..

There are two fields Truck Run and truck Stop

I want to make labels, or make a list layout that will print, that:

1) has each Truck run (there are 8) a different color

2) Within each Truck Run, each Truck Stop a different color (there are 10)

Any ideas?

Posted

Calculating text color is easier in FM7, but you can do it with FM5. You have to make a calc for each possible color with definable criteria:

TS_ColorBlue = if(Truck Stop = 1,"Truck Stop 1","")

TS_ColorRed = if(Truck Stop = 2,"Truck Stop 2","")

...

Set the color of each field separately, and layer them on top of each other in the layout.

Posted

TS_ColorBlue is an example name of one of the new calc fields you will have to create to get this to work. The if() statement is what you would put in that calc.

Posted

All right I going to be a newbie here.....

if(Truck Stop = 1,"Truck Stop 1","")

Says if the field Truck Stop = 1 then "Truck Stop 1", how does that change the text color???

Posted

Since you did't post your actual field names or types, I made up Truck Stop. The field color itself doesn't actually change. The overlapping calcs create the illusion of a changing field color.

Posted

It's cleaner to use Case if you have no alternate result.

Case(Truck Stop = X, "Truck Stop X")

This topic is 7517 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.