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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

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