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 and Replace in Script

Featured Replies

  • Newbies

Is it possible to create a new script by finding and replacing fields in a current script?

no.

Edit:

Perhaps this tool can help you search for certain text in your scripts.

http://www.dracoventions.com/products/gap_filler/

Edited by Guest
added Link

Welcome to the Forum.

It's possible to call different scripts based on certain criteria. With creative uses of variables and If Statements and script parameters your possibilities are pretty endless. Exactly what are you trying to accomplish? Please give us a more information.

  • Author
  • Newbies

I’ll attempt to explain what I’m trying to do. I’ve just started using variables and they’re great. I don’t think that I’ve come anywhere close to using them to their full potential. In any case here goes…

Basically I have a calculation script with multiple find requests that allows schools within a jurisdiction to generate reports on their own data based on a variable code unique to each school upon login. The variable code is matched with the “schcode” field in all find requests throughout the script. I also want to do a district report for (all schools). The variable code for the district would have to be matched to a different field “jurcode.”

The only way that I can see doing that at present is to create a new script by duplicating the current script and by replacing the Set Field (Schcode) with Set Field (Jurcode) in all the find requests throughout the script. Consequently, I would like to do a find/replace on the text in a script to replace all occurrences of Set Field [schcode] with Set field [JurCode].

Better still, I would prefer keeping one script if there was a way to use the“If function” to change all occurrences of Set Field [schcode] to Set field [Jurcode] within the script depending on the specific variable code that is entered. In a nutshell, the variable code for the district would trigger the Set Field in all find requests to be changed from “schcode” to “jurcode.” This option if possible, would enable me to use the same script for any number of reports (i.e a unique code that would generate a report for a segment of the population for two or three schools combined).

Thx

Mel

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.