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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

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