Jump to content
Sign in to follow this  
john9210

Displaying text in a number field

Recommended Posts

I would like to display a series of asterisks in a calculation field to flag certain conditions. For example, If (Weight<500,Weight,"*****"). Since this is a number field, it doesn't display *****. Is there a way to do this?

Share this post


Link to post
Share on other sites

Hi

The calc:

If ( Weight < 500 ; Weight ; "** ***" )

works, for display purpose, even if the field is a calculation field with result as number.

Share this post


Link to post
Share on other sites

I'd keep text (especially * since it's a mathematical operator) out of number fields because it will cause massive problems down the track, like when you want to export the data to Excel or something.

If you have FMP 9.0 you can probably do somehting with the new conditional text formatting. Otherise for older versions I'd make a calc field that displays the asterisks conditionally and display this calc field near the number field.

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×

Important Information

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