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

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

Recommended Posts

  • Newbies
Posted

I am fairly new to FileMaker Scripting and would like to generate a script which would search a field containing people's last names, and have the script remove any hyphens, apostrophes, spaces etc., and replace them with nothing.

e.g. find "De La Cruz" and replace it with DeLaCruz, or O'neil to be replaced with Oneil.

Any guidance would be appreciated.

Posted

Show All Records

Freeze Window

Go to Record/Request/Page [First]

Loop

Set Field [LastName; Filter( LastName; "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" )]

Go to Record/Request/Page [Exit after last; Next]

End Loop

Posted

That is odd. All Freeze Window does is keep the screen from updating as the loop progresses. It should work with or without it. What happened when you kept it in?

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