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

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

Recommended Posts

Posted (edited)

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
Posted

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.

  • Newbies
Posted

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

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