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

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

Recommended Posts

Posted

I need a script to find and replace data in a field if it contains one ore more cariage returns. The field also contains different kind of text.

How can this be done?

Posted

Why script, why not autoenter with an updating calc ...

http://fmhelp.filemaker.com/fmphelp_10/en/html/func_ref3.33.84.html

...comes to mind as well as this:

http://www.databasepros.com/FMPro?-DB=resources.fp5&-lay=cgi&-format=list.html&-FIND=+&resource_id=DBPros000799

--sd

Posted

I have to replace all the the text in the field.

Sometimes the data will look like this:

Text1(return)

Text2(return)

Text3

or this:

Text1(return)

Text2

or this:

Text1

And there can be even more returns in the field.

Only when there is one or more returns, the whole text in the field must to be replaced by "newtext".

bens

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