Software Venture Consulting

FileMaker Pro downloads & Resources
FileMaker Custom Functions
FileMaker Web Viewer Examples
FileMaker Pro & Lasso Consulting
Training
FileMaker Books
FileMaker Articles
FileMaker Error Reference

Free Web Tools
Free FileMaker Tools

Personal Pages
Videos
Adventures
Links

Shopping Cart
Shopping Cart

Search:

Free Newsletter
Signup


Contact


Privacy Policy



FileMaker is a registered trademark of FileMaker, Inc. in the U.S. and other countries.

 

 FileMaker Pro Custom Functions

List  |  Show Random  |  Upload  |  Add This to Your Site

PercentDisplay (Number)

Rate this function:  

RatingRatingRatingRatingRating
  Average rating: 4.6  (28 votes)
  Discuss this Custom Function

Todd Dignan, Dignan Consulting
http://www.dignanconsulting.com

Percent Formatting Display

Sample Input:
PercentDisplay (50)
Sample Output:
.50


 Then copy & paste into FileMaker Advanced's Edit Custom Function window.

Click here to copy To Clip Manager if you have myFMbutler's Clip Manager installed

Description:

This takes a whole number, 100 or less and converts the them in to a decimal. Any number over a 100 makes it a 100 percent.

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

This is my Custom Function and I want to edit it

Discuss:

I am new to this and need help. I have FMP 13 Advanced. Do I just paste this code into the Custom Function dialog?

I did that. I named the function "PercentageTrunc" and then pasted the above code into the calculation edit box. The result was "number" being greyed out and an error message came up saying "The specified parameter cannot be found."

Mark, Noblesville, IN
August 14, 2014 12:57pm

You do need to create this custom Function in the pulldown menu, File/Manage/Custom Functions..... Click the new button, Copy and paste the content into the custom function body. Give it the name of PercentDisplay, then give it the parameter of Number. Click ok to save the custom function. Then click ok to get out of the custom function manage window.

Goto to your calc, In top right "View" select custom functions. Double click on the function to add it to your calc. Then replace the word "Number" with a field or other calc that has a result as a number. Make sure your calc does have a result of number in the bottom left hand corner.

I hope this helps.

Todd Dignan

Todd Dignan, Los Osos, CA
August 14, 2014 1:12pm

Thanks Todd- it worked until I went into Browse Mode to enter a value to test it.

Error message says: "This action cannot be performed because this field is not modifiable."

Is that solution in the Inspector (as with Find Mode or Browse mode behavior?)

Mark, Noblesville, IN
August 15, 2014 5:20am

OK, You can NOT enter data into a calculation. You need to enter the value into another field and then reference that filed in the calculation with the custom function.

This should help.

Todd Dignan, Los Osos, CA
August 15, 2014 10:05am

OR, you can use it in an auto enter calc and then you reference the function "self" in the custom function.

Todd Dignan, Los Osos, CA
August 15, 2014 10:15am

Make a comment about this Custom Function (please try to keep it brief & to the point). Anyone can post:

Your Name:
City/Location:
Comment:
characters left. If you paste in more than 1500 characters, it will be truncated. Discuss the function - advertisements and other useless posts will be deleted.
Answer 4 + 6 =
Search for Custom Functions:

Custom Functions Widget
Download the Custom Function Dashboard Widget for OS X
Keep all the latest Custom Functions right at your fingertips!

Newest Custom Functions:

1. ProperAllWords ( text )
  (Thu, Dec 14, 5:19pm)
2. MatchExist ( SourceTable.Field ; DestTable.Field ; ReturnField )
  (Thu, Dec 14, 1:07pm)
3. BVR_Format ( bvr )
  (Wed, Dec 13, 5:32pm)
4. NumberToHexadecimal(NumberValue)
  (Fri, Dec 08, 8:54am)
5. Get_BaseTable
  (Thu, Dec 07, 4:27pm)
6. JSONCreateVarsFromKeys ( json ; namespace )
  (Wed, Dec 06, 8:21pm)
7. GetTableNzme ( field )
  (Tue, Dec 05, 9:16pm)
8. TimeFormatAsText ( theTime )
  (Mon, Nov 13, 1:59pm)

RSS Feed of Custom Functions