Jump to content

Find Script Help


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

Recommended Posts

Hi, new to scripting for FM so rather confused about this.

I was wondering if anyone can show me a script that can go to a specific field and do a find for all the records with 014 in that field. Then for the the field that contains 014 (Note: This is only for this one class that contains 014, there are other fields with 014 which I want to keep) I want to go to another field and copy that information within that field and then go to another field and replace it with the copied information.

Here's what I THINK it should be:

Show All Records

Go to Field [" ARCH 217 Quarter"]

Loop

If [" Arch 217 Quarter = 014"]

Go to Field [" Arch 217 Grades"]

Copy [select]

Go to Field [" Arch 317 Grades"]

Pase [select]

End if

End Loop

Link to comment
Share on other sites

If I understand what you want to do, Find all records with "014" in the field "Arch 217 Quarter" and in those records replace the contents of "Arch 317 Grades" with the contents of "Arch 217 Grades", this script should work.

Enter Browse Mode

Perform Find [ Request 1: Arch 217 Quarter 014 ]

[ Restore find requests ]

Replace [ Arch 317 Grades, Replace data:Calculation: , Arch 217 Grades ]

Link to comment
Share on other sites

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