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 7375 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

Is it possible to create a field in a Timecode format and calculate it?

I want a user to enter in timecode in and out in this format ( 00:00:00:00 )

It has to calculate (hours:minutes:seconds:frames) and output the total to give the user the duration of the clip.

I haven't been able to figure it out a formula or anything else to get this to calculate properly...

Also, how would I create an Imput mask for this?

Sorry, I am really new at this part of Filemaker.

Posted

Well, a simple way would be to demand that your users enter ALL characters of the desired timecode. IOW, don't leave off any zeros.

Now you can pull apart the passed timecode based on the position of the text. (I would place the separated pieces into global fields and calculate that way.)Any number at positions 1 or 2 is an hour part. Any numbers at positions 4 & 5 are minutes, 7 & 8 are seconds and 10 & 11 are frames.

Take a look at the text functions list, particularly ValueCount(), MiddleWords() and Length().

Is that what you were looking for?

Kurt

Posted

Actually, a better idea would be to place the global fields directly on a layout with only text colons between them for display. Then the use would be entering the data directly into first an hour field, then a minutes field, then seconds and finally the frames.

You will have to be very careful to increment your calculaions based on the frames, too. I haven't thought about what formula you would use but I will try. The frames count is definietly where you may trip up.

This topic is 7375 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.