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

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.



Log in to post comments.


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

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 16 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: