Brian Dunning's FileMaker Custom Functions

GetContainerSize ( Container ; Precision )

Returns container size in bytes, kilobytes or megabytes with the corresponding abbreviation.

  Average rating: 4.5 (36 votes) Log in to vote

Dennis Sirotkine   Dennis Sirotkine
SUI Solutions
http://filemaker.suisolutions.com

Share on Facebook Share on Twitter

  Sample input:
GetContainerSize ( Files::file2 ; 1)
  Sample output:
72.6 KB

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

Returns size (always more than 1 if not empty) of Container in bytes, kilobytes or megabytes with the corresponding abbreviation (B, KB or MB), rounded to the specified number of decimal places.

 

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.