Jump to content
Sign in to follow this  
chickaroo

Script Help!

Recommended Posts

I am new to filemaker. I need to write a script that will allow me to:

find a keyword in one field in all records and then in all of those FOUND records ONLY, I need to enter, that is, ADD (without deleting other info within that cell) a specific text word in a DIFFERENT field . Please help!

Share this post


Link to post
Share on other sites

Something like this might work:

Enter Find Mode []

Set Field [ onefield ; "keyword" ]

Error Capture [on ]

Perform Find []

Error Capture [off ]

If [ Get( FoundCount ) > 0 ]

Go to Record/Request [ first ]

Loop

Set Field [ differentfield ; "word" & " " & differentfield ]

Commit Record/Request []

Got to Record/Request [ next, exit after last ]

End Loop

End If

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use.