Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

is there a way to change a field's color based on how many records there are in a related db?

i have a jobs db and a client db. i would like to have maybe 5 different colors which allow me to gauge the customer's number of jobs in the jobs db. ie. customer one has 5 jobs, i would like for their name to be in blue. customer 2 has 10 jobs, i'd like for their name to be green. etc.

any ideas?

thanks.

josh

YES AND NO.

There are two solutions that I use in my layouts.

Solution 1 :

First is made of calculation fields instead of your native field for the name.

I make it simple :

c_shownameinRed = Case(Your relation::Nb records = 5, "Name", " ")

c_shownameinGreen = Case(Your relation::Nb records =10, "Name", " ")

c_shownameinBlue = Case(Your relation::Nb records =15, "Name", " ")

While in Layout mode, fomat calc 1 to be red, calc 2 to be Green, calc 3 to be Blue, or italics, or UpperCase,...

Then place these fields with transparent background one over the other and use this calc instead of your field. Is it possible for you ?

Solution 2 :

Use containers fields and set it contents to suit the background of your field according to a calculation. As you noticed, the text is still formated, only its background change.

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.