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

Recommended Posts

Posted (edited)

If the contents of a certain text field are:

SALLY WENT TO THE STORE

... is it possible for me to get a calculation field to yield the following result?:(

Sally_Went_To_The_Store

Notice ... UPPERCASE to Titlecase

Also notice ... underscore between each word

I've tried Substitute to add the underscore ... works good, and

I've tried TextStyleAdd to change to Titlecase ... also works good.

However, bringing Substitute and TextStyleAdd together doesn't seem to work.

Thanks so much!

Edited by Guest
Posted (edited)

OK Lee ... I guess I didn't think this would be an issue so I left it out of my example ... SO SORRY.

Actually, what I need is the calculation field to read similar to the following for URL link purposes:

"http://www.mywebsite.com/Sally%20Went%20To%20The%20Store.mp3"

What I keep getting is:

"http://www.mywebsite.com/Sally%20went%20to%20the%20store.mp3"

Notice that some of the words are not in Titlecase.

Sorry for not being clear.

Thanks.

This post is showing a space between the t and the h on the URL example ... this should not be there ... I've tried to edit it, but it won't fix :(?

Edited by Guest
Posted

This is what I'm doing

Proper ( Substitute (MyTextField ; " " ; "%20" ) )

... It's not working

Posted

It sounds like to me, that you are trying to calculate a file path for a inserted file into a container?

Why don't you tell us what it is you are wanting to accomplish, and maybe we can suggest something that will do what you are wanting.

If it is a file path to a inserted file, you can use the GetAsText (YourContainerField), and it will give you the File Path.

Lee

Posted

IT'S WORKING GREAT

THANKS LEE & COMMENT :(-)

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