Kermy Posted January 29, 2002 Posted January 29, 2002 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
falkaholic Posted January 29, 2002 Posted January 29, 2002 Look FileMaker help about the Perform Find script step. It will do what cha wanna do with less.
bobsmith Posted January 29, 2002 Posted January 29, 2002 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 ]
Kermy Posted January 29, 2002 Author Posted January 29, 2002 Woot Thanks Bob! That was exactly what I wanted.
Recommended Posts
This topic is 8338 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 accountSign in
Already have an account? Sign in here.
Sign In Now