Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 6071 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Length ( containerfield ) calculation returns the file size in a container.

Files stored as a reference aside, the file size of a Quicktime movie stored in a container seems to be wrong (way too small).

So what file size does it safely return, image, stored file… ?

Anyone know definitively or should i try every combination, think i will probably get it wrong and would like to be sure.

best

Stuart

Posted

QuickTime movies aren't stored in containers - they are stored by reference only. You can store the movie in a container as a "file" but then it is not playable as when stored as a movie by reference.

Posted

Hey Comment,

Interestingly it would seem that when adding a quicktime file and having Length ( container ) as a calculation not unstored a value is returned around 150b, if the Length ( container ) is unstored 0b is returned.

The bytes go up and down based on the path length which could be what it is returning.

Posted (edited)

OK, I see it now. It's not bytes. What a strange bug (or is it a feature?).

If the field is unstored, it correctly returns the size of file. But if the field is stored, it returns [color:red]the number of characters in the path: instead of Length ( Container ) it actually does Length ( GetAsText ( Container ) ).

If the content is embedded, both versions return the file size, as expected.

Edited by Guest

This topic is 6071 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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