Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7487 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

HELP!!! I have inherited a database that was started and maintained by someone who has no database management ability. It is a database used to maintain standardized test scores. What I WANT is one field to show the Grade Equivalent Score and one field to show the Percentile Score. The other person put both pieces of information into the same field !!!!! So, a sample records would have something like "4.5 gr 87 percentile". Is there a way to write a script to take this information and split it into the two new fields? Any thoughts and feedback would be greatly appreciated.

Posted

Hi, peg! I think I've seen similar posts in the forums before... I think it was address fields needing to be separated. Anyway, I think someone suggested using the LEFT/RIGHT WORDS function to separate them. Me... I'd probably export data to Word and use the REPLACE command to change "gr " to "gr ^t" (gr space to gr tab) and reimport. You can also use the REPLACE function to get rid of "gr" and "percentile", too, if you want numeric values.

Maybe someone can tell you how to do it entirely in FileMaker, but if you can't wait.. it should be easy enough in a text editor.

Good luck!

--ST

Posted

Peg,

"IF" the data is all entered the same, this will work, just by using the number of words in the field.

Create two fields, one "Grade_Equiv" and one "Percentile". Click on the newly created "Grade_Equiv". Select menu Records>Replace Contents, and click "Replace with calculated result". When FM prompts for a calculation, use

LeftWords(yourfieldhere,2) for the Grade_Equiv

RightWords(yourfieldhere,2) for the Percentile

This should work well without a lingering script, unless your data is inconsistently entered. Good Luck!

Paul smile.gif

Posted

Thanks to both ST and Paul. I will try both options. Any additional feedback would be appreciated. This database is a true mess and all suggestions will more than likely help me keep my sanity!

Posted

If you have any other "problems", or just don't know where to begin to sort out the mess, post a clone of the file with some sample data... I'll look at it.

Paul

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