Skip 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.

Adding color to a calc field

Featured Replies

I have a Calculation field ('Final_Total') which currently adds up an Invoice Total + gov. tax. This in itself works great. I would like to add to this field the ability to turn the data red if over 30 days after the invoice date.

I think somewhere in here my syntax is wrong or I have missed something obvious. I am very new to the wonderful world of calculations.

My current calculation is as follows:

Invoice_Total + Tax_on_total

and

Case (IsEmpty (Invoices::Date_received ) & Invoices::Invoice_Date < (Get ( CurrentDate )-30);

TextColor (Invoices::Final_Total ; RGB ( 255 ; 0 ; 0));

TextColorRemove (Invoices::Final_Total))

Thanks in advance for any help with this....and for invaluable help with my previous posts on the forum.

Try using "not" before the IsEmpty function.

i.e.

not IsEmpty(...

  • Author

I want the field 'date received' to return 'empty' since this field defines whether the invoice has been settled or not, and is only filled once payment has been made. I am seeking to find unpaid invoices and turn those over 30 days red.

Thanks for your reply.

You are using a text operator & where the logical operator and is required.

  • Author

Many thanks - works as hoped for.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.