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

Recommended Posts

  • Newbies
Posted

Hello,

I am VERY new to FMP. This is the first real task I've ever performed with it. Any help would be greatly appreciated.

I need to take two separate fields and combine them. First, I need to take a field called CLIP NAME with this format:

X59B-1 MOS

And change it to:

X59B_01

I only need to add the zero if the number in the clip name is less than 10. In other words, I need to make sure it is always a two digit number.

Then I need to take a field called Roll Camera with format:

B049

and pull just the B out of it and append it to the end of the string I need and then, finally, I need to add ".mov" to the end.

So, for example, if I had these two fields:

CLIP NAME = 144B-1

Roll Camera = A065

I need to end up with 144B_01_A.mov

Here's what I have: Substitute ( CLIP NAME ;"-";"_0")&".mov"

Can anyone help me, please? :)

Posted

Try something like =

Let ( 

w = Substitute ( CLIP NAME ; "-" ; " " ) 

;

LeftWords ( w ; 1 ) & 

SerialIncrement ( "_00_" ; MiddleWords ( w ; 2 ; 1 ) ) & 

Left ( Roll Camera ; 1 ) & ".mov"

)

Note that there are a lot of assumptions here regarding what may change and what remains constant.

  • Newbies
Posted

Try something like =

Let ( 

w = Substitute ( CLIP NAME ; "-" ; " " ) 

;

LeftWords ( w ; 1 ) & 

SerialIncrement ( "_00_" ; MiddleWords ( w ; 2 ; 1 ) ) & 

Left ( Roll Camera ; 1 ) & ".mov"

)

Note that there are a lot of assumptions here regarding what may change and what remains constant.

Thanks! That almost works perfect. One last thing I didn't realize before. If the Roll Camera field begins with X I need to skip the X and take the next letter. For example:

Roll Camera = XC003

I need to grab the "C" and not the "X."

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