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

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

Recommended Posts

Posted

Hi All,

I have db which the view field is colour coded depending on the age of a job.

It works fine until the age of the job (days in production field) goes beyond 9 days old and less then 20 days old.

The filed is a calculation the result being a container.

the calc looks to a container field with 4 repetitions all containing different colour blocks and depending on the result displays the colour of the repetition.

here is the calc B)

Case(

Job Done = "1", GetRepetition(Container, 3),

Days in Production >= "3", GetRepetition(Container, 1),

Days in Production = "2", GetRepetition(Container, 4),

Days in Production < "2", GetRepetition(Container, 2),

"")

how can i fix it so that when it is over 10 days and still in 'Production' it gets rep 1 and so on. At the minute if the job is 10 days old it defaults to rep 2.

I have messed about setting the number of days in Production field with decimals etc etc but no joy.

the db is created in FM Pro 6

Thanks in advance,

ricardo.

Posted

Just a thought... is your "days old" field a text field or a number field? alphabetically, 10 is less than 2. You need a number field.

This topic is 8040 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.