Brian Dunning's FileMaker Custom Functions

ForceZero ( NumExpression )

Forces a number calc field to display zero if is empty

  Average rating: 4.4 (32 votes) Log in to vote

Steve Gerow   Steve Gerow
Abrazos Data Consulting, Inc.
http://www.abrazosdata.com

Share on Facebook Share on Twitter

  Sample input:
ForceZero ( InvoiceTotal )
  Sample output:
0

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

Useful where Fixed Number of Decimals cannot be used but zero is still necessary to avoid user confusion. Not all functions will return a zero--"Count" will but "Sum" won't.

 

Comments

Log in to post comments.

 

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

Under construction. Email me your wish list for improvements.