Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Find/Replace...

Featured Replies

i've a script that performs a find/replace... using the values stored in two globals: gFind and gReplace.

the find/repl is performed on every record in the current found set on only one field.

It works ok, but sometimes 1 record is left out from the find/replace... operation.

In other words it does the find/replace on all records in the found set except one.:

when this happens, that record is selected and the cursor is in the field.

Any idea?

Thanks!

Is this a multiuser solution? If so, it could be that someone else is editing the record when you run the script. In that case the record would be locked and the replace would skip it.

  • Author

no, single user. local

How about pasting your script?

  • Author

what do you mean?

[color:"green"] >> i've a script that performs a find/replace...

[color:"blue"]> what do you mean?

Your Script Steps.

smile.gif

Hi Paolo. I think Lee is asking for you to show us the script in question by pasting (can you actually paste the script steps, Lee?) for all to see. Look around at some other threads for an example - it's often helpful if we can see what your script steps are.

  • Author

Ah!

GoToField [select/Perform, "description" ]

Perform Find/Replace[No dialog, "gFind","gReplace","Replace All"]

The complete settings for Perform Find/Replace are:

Perform: Replace All

Find What: Field Value -> gFind

Replace With: Field Value ->gReplace

Direction: All

Match case: NO

Match whole words only: NO

Search across: All records/requests

Search within: Current field

  • Author

Btw:

>How about pasting your script?

I would really love to be able to copy/paste script steps!!! smile.gif

There are utilities that will let you Print to Text, which in turn you can then copy and paste in your post.

Take a look what is available here:

http://www.fmfiles.com/dev12.html

The Print2Pict is excellent for this and a very useful development tool. If you are on a Windows machine, there is an equivalent, but I don't remember it's name.

Lee

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.