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

Recommended Posts

Posted (edited)

20/03/2008 4:12:08 PM jdoe Moved to Users Hard Drive

20/03/2008 5:08:02 PM jdoe Moved to Finished Items

I have a field that has 3 paragraphs.

First paragraph is empty.

The field is not a repeating field.

How do I extract the times from each of these paragraphs and place them into 2 time fields in order to perform a total calculation.

I know I should have put this data into a separate table.

Edited by Guest
Posted (edited)

Try :)

LeftWords ( GetValue ( text ; 1 ) ; [color:red]3 )

and

LeftWords ( GetValue ( text ; 2 ) ; [color:red]3 )

Edited by Guest
see below
Posted (edited)

GetValue allows you select a paragraph. MiddleWords ( text ; 2 ; 2 ) can select the time. E.g.:)

MiddleWords ( GetValue( field; 2) ; 2 ; 2 )

Edited by Guest
Michael beat me again!
Posted

Sorry, I missed the fact that your time is formatted as 12-hours AM/PM. If using LeftWords, you'll need to increase the number of words to 3.

Note that if the result is Time, you don't need to worry about the date being included.

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