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

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

Recommended Posts

Posted

I'm not a newbie to writing code but I'm a newbie on FMP scripts. I want to create a script that loops a given number of times entering the ID value of the current record into the daughterID field of all the new records. And I want it to put a value into a "phrases" field in each record. Lets say the value of the phrases are "phrase 1; phrase 2; phrase 3; phrase 4". How do put phrase 1 into the first record and phrase 2 into the second, etc? Do I make an array of values in a variable like i have typed above? how do I tell it to choose the (loopcount) item in the array?

Posted

I wouldn't do it with arrays/repeating variables at all...

Since you have some programming skills ... shouldn't you be struggling too much with this template!

--sd

Untitled.zip

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