Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

Conditional Formatting of fields in reports


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

Recommended Posts

Posted

Hi,

I had a look thru the topics to see if this had been covered and didn't find anything.

I want to either create a PDF or print a report and have a certain field which would normally be in black text (eg SalesTaxPaid) turn [color:red]RED if it equals $0.00 and I was wondering if this was possible. I have tried to work it out and havent succeeded, possibly due to poor brain power.

Posted

FMP 8.5 does not support conditional formatting, it was introcuded in FMP 9.0.

However you could make a calc field that does the work:

Case( 



SalesTaxPaid <= 0 ; TextColor( SalesTaxPaid ; RGB( 255 ; 0 ; 0 ) ) ; 



SalesTaxPaid 



)

Posted

Hi Vaughan,

Thanks heaps for replying. I tried it and the zero GST went red but the others disappeared. Can you please tell me the calculation for

if GST = 0 then red, otherwise black

cheers mate

Posted

You can use Case or IF in this "case"... ;p

I tend to use case almost all time over If just because it is easier to add more conditions later if need be.

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