Newbies R. McFarlane Posted April 8, 2004 Newbies Posted April 8, 2004 Hello all, I need to format a field so that it contains the first 2 letters of each word from another field. I have not needed to do this before and I can not figure it out other than it looks like I need to use a script to perform some sort of "strip text" to obtain the results. Thanks in advance! FileMaker Version: 5 Platform: Mac OS 9
-Queue- Posted April 8, 2004 Posted April 8, 2004 Here are two ways to do this. One: Create a calculation field of Left( MiddleWords( text, 1, 1 ), 2 ) & Left( MiddleWords( text, 2, 1 ), 2 ) & Left( MiddleWords( text, 3, 1 ), 2 ) & Left( MiddleWords( text, 4, 1 ), 2 ) & Left( MiddleWords( text, 5, 1 ), 2 ) & Left( MiddleWords( text, 6, 1 ), 2 ) & Left( MiddleWords( text, 7, 1 ), 2 ) & Left( MiddleWords( text, 8, 1 ), 2 ) & Left( MiddleWords( text, 9, 1 ), 2 ) & Left( MiddleWords( text, 10, 1 ), 2 ) You can vary the middle parameter of MiddleWords, depending on how many you need. Two: check the attachment for a valuelist based on a repeating field calculation. McFarlane_rep_word.zip
Newbies R. McFarlane Posted April 8, 2004 Author Newbies Posted April 8, 2004 Thank you for the quick reply! Am I correct in thinking that the numbers 1 - 10 are to calculate up to 10 words? Thanks in advance! FileMaker Version: 5 Platform: Mac OS 9
Recommended Posts
This topic is 7533 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 accountSign in
Already have an account? Sign in here.
Sign In Now