Jump to content

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

Recommended Posts

Posted

Hi,

Am reasonable new to Filemaker, running 5.5 on Mac OS 9.

I have a contacts database with a list layout and a card index layout. In the card index layout there is a comments field.

In the list layout I have a comments? field, which is a calcultion

comments?=

If(IsEmpty(comments); "no"; "yes")

what I'd really like to do is change the colour of the comments? field, so say if its yes then it'll appear in red bold, so its really easy to scan down the list and see whos got an entry.

Hope thats clear - basically, can you control the font colour / style in a calculation?

thanks in advance

James

  • Newbies
Posted

By no means am I one of the established pros here.

Now that I have coverd my back....

It seems to me that you can simply format the text of the "comments?" field as BOLD RED and then change your calc field to say ... If(IsEmpty(comments); ""; "yes")

Then you will have an "empty field" instead of a "no" and you will see BOLD RED text for the "Yes". It should be easy to see with a quick scan of the records.

...Or perhaps, you can use a more complicated alternating global container field (pretty slick) to mark the record with either text of your choosing or perhaps a cool green "check mark" pic for yes and a big red "X" for a no.

Posted

The simplest way is to return a blank if it's "no", so that you'll only see something when there is a comment, but if you have to do it the hard way...

The other way is to have two calc fields: one returns a "yes" if appropriate, but is otherwise blank; the other returns a "no"...

Overlay one field on the other in the layout. Make the text colors different for the two fields. Also, make sure that whichever field is in front is transparent (i.e. no fill).

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